# Elasticsearch exception \[type=search\_phase\_execution\_exception, reason=all shards failed\]

**URL:** <https://discuss.elastic.co/t/elasticsearch-exception-type-search-phase-execution-exception-reason-all-shards-failed/308737>\
**Category:** Elasticsearch\
**Created:** [July 3, 2022, 7:29am UTC](https://discuss.elastic.co/t/elasticsearch-exception-type-search-phase-execution-exception-reason-all-shards-failed/308737 "2022-07-03T07:29:04Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![RabBit\_BR](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rabbit_br/32/82261_2.png) [@RabBit\_BR](https://discuss.elastic.co/u/RabBit_BR)\
**Post date:** [July 3, 2022, 2:36pm UTC](https://discuss.elastic.co/t/elasticsearch-exception-type-search-phase-execution-exception-reason-all-shards-failed/308737/2 "2022-07-03T14:36:16Z")

</div>

Hi @Pamal_Jayawickrama

Look this [post](https://discuss.elastic.co/t/failed-to-create-query-maxclausecount-is-set-to-1024/302898/2), similar problem.

---

_[View the full topic](https://discuss.elastic.co/t/elasticsearch-exception-type-search-phase-execution-exception-reason-all-shards-failed/308737)._
