# Getting error illegal\_state\_exception in logstash

**URL:** <https://discuss.elastic.co/t/getting-error-illegal-state-exception-in-logstash/162372>\
**Category:** Logstash\
**Created:** [December 28, 2018, 5:16pm UTC](https://discuss.elastic.co/t/getting-error-illegal-state-exception-in-logstash/162372 "2018-12-28T17:16:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gaurav\_Rishi](https://avatars.discourse-cdn.com/v4/letter/g/5f9b8f/32.png) [@Gaurav\_Rishi](https://discuss.elastic.co/u/Gaurav_Rishi)\
**Post date:** [December 28, 2018, 5:16pm UTC](https://discuss.elastic.co/t/getting-error-illegal-state-exception-in-logstash/162372/1 "2018-12-28T17:16:47Z")

</div>

:09:33.849Z host1{ "MDC": {}, "API\_NAME": "FUND\_ORDER\_CLOSE", "EventTime" : "1546016973458", "TYPE" : "REQUEST", "REQUEST" : {"request":{"body":{"OrderId":"62","envInfo":{"clientIp":"106.208.59.212","terminalType":"WAP","osType":"Android","browserUserAgent":"Mozilla/5.0 (Linux; Android 8.1.0; ONEPLUS A5010 Build/OPM1.171019.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/71.0.3578.99 Mobile Safari/537.36","extendInfo":{"zipCode":null,"country":"IN","deviceCategory":"Smartphone","city":"NEWDELHI","isp":"","browserName":"Chrome Mobile 71.0.3578.99","state":"DL","networkType":"vhigh","deviceId":null}}},"head":{"version":"1.1.7","function":"order.close","clientId":"06","reqMsgId":"51a7681e","reqTime":"2018-12-28T22:39:33+05:30","clientSecret":"if"}},"signature":"15b"}}], :response=\>{"index"=\>{"\_index"=\>”log1-2018.12.28", "\_type"=\>”log1”, "\_id"=\>"AWf1yusMyr-Qx21D8HEx", "status"=\>400, "error"=\>{"type"=\>"mapper\_parsing\_exception", "reason"=\>"failed to parse [REQUEST.request.body.envInfo.extendInfo]", "caused\_by"=\>{"type"=\>"illegal\_state\_exception", "reason"=\>"Can't get text on a START\_OBJECT at 1:1687"}}}}}

Can anybody help in how can i mutate this field

---

<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:** [January 25, 2019, 5:16pm UTC](https://discuss.elastic.co/t/getting-error-illegal-state-exception-in-logstash/162372/2 "2019-01-25T17:16:55Z")

</div>

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