# Http 400 query crashes elastic search cluster

**URL:** <https://discuss.elastic.co/t/http-400-query-crashes-elastic-search-cluster/256228>\
**Category:** Elasticsearch\
**Created:** [November 21, 2020, 2:58pm UTC](https://discuss.elastic.co/t/http-400-query-crashes-elastic-search-cluster/256228 "2020-11-21T14:58:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebastienf](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@sebastienf](https://discuss.elastic.co/u/sebastienf)\
**Post date:** [November 21, 2020, 2:58pm UTC](https://discuss.elastic.co/t/http-400-query-crashes-elastic-search-cluster/256228/1 "2020-11-21T14:58:22Z")

</div>

on a 5.6 ES cluster that i don't administrate, i noticed, when a query gives an error HTTP 400 such as

`{"error":{"root_cause":[{"type":"action_request_validation_exception","reason":"Validation Failed: 1: template is missing;"}]`

that it turns to yellow status, and while it re-assigns shards, there is no way to bulk some documents until it comes to 98.5% of active shards.

this is just correlation (i may make a mistake in my judgement)...

is this possible that coordinator nodes can't manage a mal-formed or not valid query ?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [November 21, 2020, 4:12pm UTC](https://discuss.elastic.co/t/http-400-query-crashes-elastic-search-cluster/256228/2 "2020-11-21T16:12:53Z")

</div>

I don't think so.

But anyway your version is too old so you should upgrade to 6.8 or better 7.10

---

<div class="post-metadata">

**Author:** ![sebastienf](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@sebastienf](https://discuss.elastic.co/u/sebastienf)\
**Post date:** [November 30, 2020, 1:54pm UTC](https://discuss.elastic.co/t/http-400-query-crashes-elastic-search-cluster/256228/3 "2020-11-30T13:54:37Z")

</div>

Thanks for your reply.  
Yes, we aim for upgrade to 7.10.

---

<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:** [December 28, 2020, 1:54pm UTC](https://discuss.elastic.co/t/http-400-query-crashes-elastic-search-cluster/256228/4 "2020-12-28T13:54:40Z")

</div>

Closed on December 28, 2020, 1:54pm UTC

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