# Watcher Error is Parse Exception, unexpected field

**URL:** https://discuss.elastic.co/t/watcher-error-is-parse-exception-unexpected-field/170751
**Category:** Kibana
**Created:** [March 4, 2019, 3:44pm UTC](https://discuss.elastic.co/t/watcher-error-is-parse-exception-unexpected-field/170751 "2019-03-04T15:44:53Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Mariner191](https://avatars.discourse-cdn.com/v4/letter/m/96bed5/32.png) [@Mariner191](https://discuss.elastic.co/u/Mariner191)
#### Post date: [March 4, 2019, 3:44pm UTC](https://discuss.elastic.co/t/watcher-error-is-parse-exception-unexpected-field/170751/1 "2019-03-04T15:44:53Z")

</div>

Hi,  
How to diagnose and proceed from this Error (Parse Exception)?

Thank you!

 ![Elastic_Forum_Image5b_Watcher_Error_is_ParseException](https://us1.discourse-cdn.com/elastic/original/3X/f/3/f31e2014591fd072008a7f6e60fbe60629792fb1.jpeg)

---

<div class="post-metadata">

### Author: ![tylersmalley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tylersmalley/32/8833_2.png) [@tylersmalley](https://discuss.elastic.co/u/tylersmalley)
#### Post date: [March 5, 2019, 3:13am UTC](https://discuss.elastic.co/t/watcher-error-is-parse-exception-unexpected-field/170751/2 "2019-03-05T03:13:29Z")

</div>

The parse exception is that isn't not valid JSON. By the looks of it, you need to remove line 215 as it's closing the object early.

---

<div class="post-metadata">

### Author: ![Mariner191](https://avatars.discourse-cdn.com/v4/letter/m/96bed5/32.png) [@Mariner191](https://discuss.elastic.co/u/Mariner191)
#### Post date: [March 5, 2019, 3:30pm UTC](https://discuss.elastic.co/t/watcher-error-is-parse-exception-unexpected-field/170751/3 "2019-03-05T15:30:39Z")

</div>

Tyler -  
Your idea helped. Left "match all" intact, starting at line 215. Progress: No “Invalid JSON” at end of request.  
Now however: with "match all" included, Simulation runs, but indicates "failed to execute watch input". Ideas on how to troubleshoot input? Thank you!

 ![Elastic_Forum_Image5c1_Watcher_Error_Failed%20to%20execute%20watch%20input](https://us1.discourse-cdn.com/elastic/original/3X/f/e/fee1993b342cb44793e74c948ef68fc1f6d9092b.jpeg)

---

<div class="post-metadata">

### Author: ![Mariner191](https://avatars.discourse-cdn.com/v4/letter/m/96bed5/32.png) [@Mariner191](https://discuss.elastic.co/u/Mariner191)
#### Post date: [March 5, 2019, 4:09pm UTC](https://discuss.elastic.co/t/watcher-error-is-parse-exception-unexpected-field/170751/4 "2019-03-05T16:09:44Z")

</div>

Tyler - Additional information  
3: With State = “OK” (working properly), why then, Simulation indicates “failed to execute watch input”? Thank you!

 ![Elastic_Forum_Image5c2_Watcher_Error_Failed%20to%20execute%20watch%20input](https://us1.discourse-cdn.com/elastic/original/3X/2/c/2c3bd5e92e40bb4345a34213d26675c71e918d16.jpeg)

---

<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: [April 2, 2019, 4:23pm UTC](https://discuss.elastic.co/t/watcher-error-is-parse-exception-unexpected-field/170751/5 "2019-04-02T16:23:02Z")

</div>

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