# Erros on kibana devtools "parse\_exception"

**URL:** <https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635>\
**Category:** Kibana\
**Created:** [December 1, 2021, 7:36am UTC](https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635 "2021-12-01T07:36:53Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Glardz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/glardz/32/77536_2.png) [@Glardz](https://discuss.elastic.co/u/Glardz)\
**Post date:** [December 1, 2021, 7:36am UTC](https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635/1 "2021-12-01T07:36:53Z")

</div>

hello,

i have this error when i use dev tools, GET is working but PUT and POST action is not working,

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/2/924c45f570f72b92dd7862809f28dfb12b5d8421.png)

do you have any idea ?

thanks for your response

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [December 1, 2021, 8:22am UTC](https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635/2 "2021-12-01T08:22:46Z")

</div>

The request looks fine, but it could be the tool has a hard time parsing it. Could you try by spacing it out over a few lines:

> POST my-index/\_doc  
> {  
> "firstname":"alain",  
> "lastname":"muster",  
> "date\_of\_birth": "18.05.1985"  
> }

---

<div class="post-metadata">

**Author:** ![Glardz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/glardz/32/77536_2.png) [@Glardz](https://discuss.elastic.co/u/Glardz)\
**Post date:** [December 1, 2021, 4:30pm UTC](https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635/3 "2021-12-01T16:30:28Z")

</div>

yes @majagrubic i tried but same error ☹

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/7/7720f83b57275c1ff9055d74f02d335cb4b587e4.png)  
do you have any idea ?

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [December 1, 2021, 5:22pm UTC](https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635/4 "2021-12-01T17:22:37Z")

</div>

Here are some of the things I'd suggest to try:

1. Try with a different index and see if it still fails
2. Check your index privileges
3. Try executing a cURL request against your Elasticsearch cluster directly

---

<div class="post-metadata">

**Author:** ![Glardz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/glardz/32/77536_2.png) [@Glardz](https://discuss.elastic.co/u/Glardz)\
**Post date:** [December 2, 2021, 7:51am UTC](https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635/5 "2021-12-02T07:51:02Z")

</div>

hello,

@majagrubic, i tried:

1. Try with a different index and see if it still fails

it fails with different index

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/6/b6c3e32d22b8e5b23913ce3168a38194a6b43a01.png)

1. Check your index privileges

i'me superuser

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/c/acf167a72249bec8696d3cec061d5e08c42726d7.png)

1. Try executing a cURL request against your Elasticsearch cluster directly

POST and PUT working with curl directly to the cluster.

GET is working but not PUT and POST on the DevTools,

i don't know why PUT and POST is not working while GET is working.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/5/350e6560042dea6e67496412bcf596ef409ab1a0.png)

thanks for any response,

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [December 2, 2021, 8:01am UTC](https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635/6 "2021-12-02T08:01:44Z")

</div>

Could you check the request in the network tab of your browser? It will look something like `proxy?path=my-index-00001%2F_doc%2F&method=POST`

 ![Screenshot 2021-12-02 at 08.58.59](https://us1.discourse-cdn.com/elastic/original/3X/c/b/cbfe853034a569ab0de1c85a1c67745dbcf58a86.png)

Does it have request payload correctly set?

---

<div class="post-metadata">

**Author:** ![Glardz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/glardz/32/77536_2.png) [@Glardz](https://discuss.elastic.co/u/Glardz)\
**Post date:** [December 2, 2021, 9:46am UTC](https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635/7 "2021-12-02T09:46:53Z")

</div>

@majagrubic how to check, which tools did you use ?

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [December 2, 2021, 9:48am UTC](https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635/8 "2021-12-02T09:48:55Z")

</div>

This is just Devtools in your browser, in Chrome it's View \> Developer Tools and then the Network tab.

---

<div class="post-metadata">

**Author:** ![Glardz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/glardz/32/77536_2.png) [@Glardz](https://discuss.elastic.co/u/Glardz)\
**Post date:** [December 2, 2021, 9:50am UTC](https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635/9 "2021-12-02T09:50:29Z")

</div>

yes @majagrubic but i don't see any information

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/e/ae3d1deb836ce4c312ce6abc0dc17df492a3f934.png)

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [December 2, 2021, 9:55am UTC](https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635/10 "2021-12-02T09:55:15Z")

</div>

Request payload is what you need, it's right there in the Payload tab.

---

<div class="post-metadata">

**Author:** ![Glardz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/glardz/32/77536_2.png) [@Glardz](https://discuss.elastic.co/u/Glardz)\
**Post date:** [December 2, 2021, 9:56am UTC](https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635/11 "2021-12-02T09:56:46Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/a/3/a33744c7d8a11f485329da1d652e4f9cf78b34d8.png)

same error

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [December 2, 2021, 10:00am UTC](https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635/12 "2021-12-02T10:00:47Z")

</div>

Sorry if I wasn't clear, I am interested in this bit:

 ![ae3d1deb836ce4c312ce6abc0dc17df492a3f934](https://us1.discourse-cdn.com/elastic/original/3X/f/1/f134dd004562b1693ed48fb4680d158daf21f50c.png)

From what I can see, it looks like the request is correctly being sent. Can you expand this section and post it here? Also, can you confirm that you've executed a cURL request from your OS terminal against Elasticsearch cluster and that that executed correctly?

```auto
curl -X POST "localhost:9200/my-index-000001/_doc/?pretty" -H 'Content-Type: application/json' -d'
{
  "@timestamp": "2099-11-15T13:12:00",
  "message": "GET /search HTTP/1.1 200 1070000",
  "user": {
    "id": "kimchy"
  }
}
'

```

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [December 2, 2021, 10:02am UTC](https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635/13 "2021-12-02T10:02:49Z")

</div>

Also, what is that security exception?

---

<div class="post-metadata">

**Author:** ![Glardz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/glardz/32/77536_2.png) [@Glardz](https://discuss.elastic.co/u/Glardz)\
**Post date:** [December 2, 2021, 10:03am UTC](https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635/14 "2021-12-02T10:03:20Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/5/4/54cf2bc3dace9687706ce6dd852ae9993c43b295.png)

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [December 2, 2021, 10:08am UTC](https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635/15 "2021-12-02T10:08:46Z")

</div>

So the request is correctly being sent, which means the error is a bit misleading, as the request body is in fact in the request. I think this could be:

1. a privileges issue
2. Kibana having problems communicating with ES
3. ES acting out for some reason

We can narrow this down if you execute a cURL request and can confirm that it's working.

---

<div class="post-metadata">

**Author:** ![Glardz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/glardz/32/77536_2.png) [@Glardz](https://discuss.elastic.co/u/Glardz)\
**Post date:** [December 2, 2021, 10:33am UTC](https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635/16 "2021-12-02T10:33:32Z")

</div>

as you see curl with PUT is working @majagrubic

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/6/56b0fbdb0b7a8d8cda79eefae652d85a46edfedd.png)

---

<div class="post-metadata">

**Author:** ![majagrubic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/majagrubic/32/74459_2.png) [@majagrubic](https://discuss.elastic.co/u/majagrubic)\
**Post date:** [December 2, 2021, 10:42am UTC](https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635/17 "2021-12-02T10:42:30Z")

</div>

This is really weird. Given everything you've posted, I don't think that it's an issue with Kibana DevTools, nor an issue with the Elasticsearch cluster. Could be a permissions issue or some hidden whitespace.

---

<div class="post-metadata">

**Author:** ![Glardz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/glardz/32/77536_2.png) [@Glardz](https://discuss.elastic.co/u/Glardz)\
**Post date:** [December 2, 2021, 12:38pm UTC](https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635/18 "2021-12-02T12:38:33Z")

</div>

i searched to update kibana and Elasticsearch but that not working.

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [December 2, 2021, 6:04pm UTC](https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635/19 "2021-12-02T18:04:12Z")

</div>

Hi, I have a few questions:

1. What version of Kibana are you on?
2. Is there a reverse proxy in front of Elasticsearch or Kibana?
3. Have you tried adding a leading slash to the path?

---

<div class="post-metadata">

**Author:** ![Glardz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/glardz/32/77536_2.png) [@Glardz](https://discuss.elastic.co/u/Glardz)\
**Post date:** [December 3, 2021, 8:03am UTC](https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635/20 "2021-12-03T08:03:45Z")

</div>

Hi,

i run kibana 7.15.2 and Elasticsearch 7.15.2, i don't use proxy, what you mean add leading slash ?

[Next page](https://discuss.elastic.co/t/erros-on-kibana-devtools-parse-exception/290635.md?page=2)
