# Reindex to version 6 and unknown error parsing response

**URL:** <https://discuss.elastic.co/t/reindex-to-version-6-and-unknown-error-parsing-response/178900>\
**Category:** Elasticsearch\
**Created:** [April 29, 2019, 10:30am UTC](https://discuss.elastic.co/t/reindex-to-version-6-and-unknown-error-parsing-response/178900 "2019-04-29T10:30:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![magorbe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magorbe/32/36871_2.png) [@magorbe](https://discuss.elastic.co/u/magorbe)\
**Post date:** [April 29, 2019, 10:30am UTC](https://discuss.elastic.co/t/reindex-to-version-6-and-unknown-error-parsing-response/178900/1 "2019-04-29T10:30:53Z")

</div>

Hello. When i do reindex i have this error :

> {"error":{"root\_cause":[{"type":"exception","reason":"Error parsing the response, remote is likely not an Elasticsearch instance"}],"type":"exception","reason":"Error parsing the response, remote is likely not an Elasticsearch instance","caused\_by":{"type":"x\_content\_parse\_exception","reason":"[1:52638] [search\_response] failed to parse field [hits]","caused\_by":{"type":"x\_content\_parse\_exception","reason":"[1:52638] [hits] failed to parse field [hits]","caused\_by":{"type":"x\_content\_parse\_exception","reason":"[1:52638] [hit] failed to parse field [\_source]","caused\_by":{"type":"parsing\_exception","reason":"[hit] failed to parse [\_source]","line":1,"col":52638,"caused\_by":{"type":"json\_parse\_exception","reason":"Duplicate field 'id'\n at [Source: org.apache.http.nio.entity.ContentInputStream@37bb0b2e; line: 1, column: 52653]","suppressed":[{"type":"illegal\_state\_exception","reason":"Failed to close the XContentBuilder","caused\_by":{"type":"i\_o\_exception","reason":"Unclosed object or array found"}}]}}}}}},"status":500}

Is there any way to know the problematic document ?? Whats happens ? I am totally lost. Thanks.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [April 29, 2019, 10:53am UTC](https://discuss.elastic.co/t/reindex-to-version-6-and-unknown-error-parsing-response/178900/2 "2019-04-29T10:53:57Z")

</div>

How are you running the reindexing?

---

<div class="post-metadata">

**Author:** ![magorbe](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magorbe/32/36871_2.png) [@magorbe](https://discuss.elastic.co/u/magorbe)\
**Post date:** [April 29, 2019, 11:01am UTC](https://discuss.elastic.co/t/reindex-to-version-6-and-unknown-error-parsing-response/178900/3 "2019-04-29T11:01:13Z")

</div>

> nohup curl -XPOST "172.19.0.45:9200/\_reindex" -H 'Content-Type: application/json' -d '{"source":{"remote":{"host":"[http://db-es5-dev.sgnet.local:9200](http://db-es5-dev.sgnet.local:9200)"},"index":"bioinformatics\_553", "size": 1},"dest":{"index":"bioinformatics\_aux2"}}' &

from a machine with version 5 to a machine with version 6.

---

<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:** [May 27, 2019, 11:01am UTC](https://discuss.elastic.co/t/reindex-to-version-6-and-unknown-error-parsing-response/178900/4 "2019-05-27T11:01:13Z")

</div>

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