# Document missing exception on Update API after update to 6.4

**URL:** <https://discuss.elastic.co/t/document-missing-exception-on-update-api-after-update-to-6-4/154175>\
**Category:** Elasticsearch\
**Created:** [October 26, 2018, 10:22am UTC](https://discuss.elastic.co/t/document-missing-exception-on-update-api-after-update-to-6-4/154175 "2018-10-26T10:22:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dtrizna](https://avatars.discourse-cdn.com/v4/letter/d/c2a13f/32.png) [@dtrizna](https://discuss.elastic.co/u/dtrizna)\
**Post date:** [October 26, 2018, 10:22am UTC](https://discuss.elastic.co/t/document-missing-exception-on-update-api-after-update-to-6-4/154175/1 "2018-10-26T10:22:31Z")

</div>

Hi there!

I'm facing problem with one of update API requests after upgrade from 5.3.x to 6.4.2.  
Update API request looks failing with "document\_missing\_exception".

I'm trying to update already existing Kibana search.  
It has this \_id value now:  
"\_id": "search:977e80c0-201d-11e7-bdeb-63e711161594"

Don't know what exactly value this field had before in 5.x .kibana index, but prior an update POST request was made successfully to following URL:

[http://localhost:9200/.kibana/search/977e80c0-201d-11e7-bdeb-63e711161594/\_update](http://localhost:9200/.kibana/search/977e80c0-201d-11e7-bdeb-63e711161594/_update)

Now though not any of following variations work:

[http://localhost:9200/.kibana-6/search/977e80c0-201d-11e7-bdeb-63e711161594/\_update](http://localhost:9200/.kibana-6/search/977e80c0-201d-11e7-bdeb-63e711161594/_update)  
[http://localhost:9200/.kibana-6/search/search:977e80c0-201d-11e7-bdeb-63e711161594/\_update](http://localhost:9200/.kibana-6/search/search:977e80c0-201d-11e7-bdeb-63e711161594/_update)  
[http://localhost:9200/.kibana-6/search/search%3A977e80c0-201d-11e7-bdeb-63e711161594/\_update](http://localhost:9200/.kibana-6/search/search%3a977e80c0-201d-11e7-bdeb-63e711161594/_update)  
[http://localhost:9200/.kibana-6/search%3A977e80c0-201d-11e7-bdeb-63e711161594/\_update](http://localhost:9200/.kibana-6/search%3a977e80c0-201d-11e7-bdeb-63e711161594/_update)

Tried more of them, cannot find necessary one.  
ES exceptions are like:  
"reason" : "[search][977e80c0-201d-11e7-bdeb-63e711161594]: document missing"  
"reason" : "[search][search:977e80c0-201d-11e7-bdeb-63e711161594]: document missing"

Full request just in case:  
curl -H 'Content-Type: application/json' -s -XPOST [http://localhost:9200/.kibana-6/search/search:977e80c0-201d-11e7-bdeb-63e711161594/\_update?pretty=true](http://localhost:9200/.kibana-6/search/search:977e80c0-201d-11e7-bdeb-63e711161594/_update?pretty=true) -d@/my/file

Sorry - my brief research found no solution in official documentation or any related information in already created discussion on UpdateAPI / document missing exception topics.

ES: "version" : "number" : "6.4.2"  
java version "1.8.0\_111"

Any ideas what I'm doing wrong? Solution?  
Thanks!

Regards,  
Dmitry

---

<div class="post-metadata">

**Author:** ![dtrizna](https://avatars.discourse-cdn.com/v4/letter/d/c2a13f/32.png) [@dtrizna](https://discuss.elastic.co/u/dtrizna)\
**Post date:** [October 30, 2018, 9:22am UTC](https://discuss.elastic.co/t/document-missing-exception-on-update-api-after-update-to-6-4/154175/2 "2018-10-30T09:22:17Z")

</div>

Anyone?

---

<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:** [November 27, 2018, 9:22am UTC](https://discuss.elastic.co/t/document-missing-exception-on-update-api-after-update-to-6-4/154175/3 "2018-11-27T09:22:24Z")

</div>

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