# \]\[WARN \]\[o.e.d.r.RestController \] Content type detection for rest requests is deprecated. Specify the content type using the \[Content-Type\] header

**URL:** <https://discuss.elastic.co/t/warn-o-e-d-r-restcontroller-content-type-detection-for-rest-requests-is-deprecated-specify-the-content-type-using-the-content-type-header/131461>\
**Category:** Elasticsearch\
**Created:** [May 11, 2018, 11:12am UTC](https://discuss.elastic.co/t/warn-o-e-d-r-restcontroller-content-type-detection-for-rest-requests-is-deprecated-specify-the-content-type-using-the-content-type-header/131461 "2018-05-11T11:12:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![suchand](https://avatars.discourse-cdn.com/v4/letter/s/74df32/32.png) [@suchand](https://discuss.elastic.co/u/suchand)\
**Post date:** [May 11, 2018, 11:12am UTC](https://discuss.elastic.co/t/warn-o-e-d-r-restcontroller-content-type-detection-for-rest-requests-is-deprecated-specify-the-content-type-using-the-content-type-header/131461/1 "2018-05-11T11:12:46Z")

</div>

Hi ,  
@Ivan @mrubin  
I am using Elsticsearch 5.5.3 , 4 node cluster.

I am getting this below log from one Node and CPU usage in this node is always 100%.

][WARN][o.e.d.r.RestController] Content type detection for rest requests is deprecated. Specify the content type using the [Content-Type] header.

16gb is the heap memory set.

Can someone please help me to resolve this issue.

Cluster health status is also copying here for referance:  
"status" : "green",  
"timed\_out" : false,  
"number\_of\_nodes" : 4,  
"number\_of\_data\_nodes" : 3,  
"active\_primary\_shards" : 856,  
"active\_shards" : 1712,  
"relocating\_shards" : 0,  
"initializing\_shards" : 0,  
"unassigned\_shards" : 0,  
"delayed\_unassigned\_shards" : 0,  
"number\_of\_pending\_tasks" : 0,  
"number\_of\_in\_flight\_fetch" : 0,  
"task\_max\_waiting\_in\_queue\_millis" : 0,  
"active\_shards\_percent\_as\_number" : 100.0  
}

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 12, 2018, 3:40am UTC](https://discuss.elastic.co/t/warn-o-e-d-r-restcontroller-content-type-detection-for-rest-requests-is-deprecated-specify-the-content-type-using-the-content-type-header/131461/2 "2018-05-12T03:40:53Z")

</div>

See [Common options | Elasticsearch Reference [6.2] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/6.2/common-options.html#_content_type_requirements)

> [@suchand](#):
>
> Hi ,
> 
> @Ivan @mrubin

Please don't ping people like that unless they are involved in the topic.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 9, 2018, 3:40am UTC](https://discuss.elastic.co/t/warn-o-e-d-r-restcontroller-content-type-detection-for-rest-requests-is-deprecated-specify-the-content-type-using-the-content-type-header/131461/3 "2018-06-09T03:40:59Z")

</div>

Closed on June 9, 2018, 3:40am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
