# Got a bad response code from server, but this code is not considered retryable \[Status : 400\]\]

**URL:** <https://discuss.elastic.co/t/got-a-bad-response-code-from-server-but-this-code-is-not-considered-retryable-status-400/178366>\
**Category:** Logstash\
**Tags:** docker\
**Created:** [April 25, 2019, 5:33am UTC](https://discuss.elastic.co/t/got-a-bad-response-code-from-server-but-this-code-is-not-considered-retryable-status-400/178366 "2019-04-25T05:33:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarasa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sarasa/32/44973_2.png) [@sarasa](https://discuss.elastic.co/u/sarasa)\
**Post date:** [April 25, 2019, 5:33am UTC](https://discuss.elastic.co/t/got-a-bad-response-code-from-server-but-this-code-is-not-considered-retryable-status-400/178366/1 "2019-04-25T05:33:39Z")

</div>

There is a error in my logstash's logs. No idea whats happening. I keep getting this error time to time. Does anyoen know whats need to be done to solve this?

docker-compose configurations-  
elasticsearch:  
image: [docker.elastic.co/elasticsearch/elasticsearch:5.6.15](http://docker.elastic.co/elasticsearch/elasticsearch:5.6.15)  
environment:  
ES\_JAVA\_OPTS: '-Xms256m -Xmx256m'  
xpack.security.enabled: 'false'  
xpack.monitoring.enabled: 'false'  
xpack.graph.enabled: 'false'  
xpack.watcher.enabled: 'false'  
volumes:  
- loggingvol:/usr/share/elasticsearch/data  
ulimits:  
nofile:  
soft: 65536  
hard: 65536  
logstash:  
image: [docker.elastic.co/logstash/logstash:5.3.2](http://docker.elastic.co/logstash/logstash:5.3.2)  
volumes:  
- /home/ec2-user/logstash/logstash.conf:/usr/share/logstash/pipeline/logstash.conf  
depends\_on:  
- elasticsearch  
logging:  
driver: "json-file"  
options:  
- max-size: "10m"

This is the logs of logstash  
[2019-04-25T04:50:06,753][ERROR][logstash.outputs.elasticsearch] Got a bad response code from server, but this code is not considered retryable. Request will be dropped {:code=\>400, :response\_body=\>"{"error":{"root\_cause":[{"type":"illegal\_argument\_exception","reason":"request [/\_xpack/monitoring/\_bulk] contains unrecognized parameters: [interval], [system\_api\_version], [system\_id]"}],"type":"illegal\_argument\_exception","reason":"request [/\_xpack/monitoring/\_bulk] contains unrecognized parameters: [interval], [system\_api\_version], [system\_id]"},"status":400}"}

---

<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:** [May 23, 2019, 5:33am UTC](https://discuss.elastic.co/t/got-a-bad-response-code-from-server-but-this-code-is-not-considered-retryable-status-400/178366/2 "2019-05-23T05:33:50Z")

</div>

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