# Illegal State Exception

**URL:** <https://discuss.elastic.co/t/illegal-state-exception/11232>\
**Category:** Elasticsearch\
**Created:** [March 21, 2013, 9:25am UTC](https://discuss.elastic.co/t/illegal-state-exception/11232 "2013-03-21T09:25:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Qasim\_Khan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/qasim_khan/32/2429_2.png) [@Qasim\_Khan](https://discuss.elastic.co/u/Qasim_Khan)\
**Post date:** [March 21, 2013, 9:25am UTC](https://discuss.elastic.co/t/illegal-state-exception/11232/1 "2013-03-21T09:25:12Z")

</div>

Hey,

I am getting the following exception.

{"error":"SearchPhaseExecutionException[Failed to execute phase [query\_fetch], total failure; shardFailures {RemoteTransportException[[Amphibion][inet[/192.168.1.108:9200]][search/phase/query+fetch]]; nested: ElasticSearchIllegalStateException[No matching token for number\_type [BIG\_INTEGER]]; }]","status":500}

We can resolve this issue by fixing the data as suggested in

[https://groups.google.com/forum/#!msg/elasticsearch/4P4J1nbstfY/QlGa314syAsJ](https://groups.google.com/forum/#!msg/elasticsearch/4P4J1nbstfY/QlGa314syAsJ)

But is there a way to get the results by excluding the faulty entry?

Regards,

Qasim Khan

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 2:45am UTC](https://discuss.elastic.co/t/illegal-state-exception/11232/2 "2017-07-06T02:45:29Z")

</div>


