# Reindex error: Failed to parse content to map

**URL:** https://discuss.elastic.co/t/reindex-error-failed-to-parse-content-to-map/119841
**Category:** Elasticsearch
**Created:** [February 14, 2018, 4:19pm UTC](https://discuss.elastic.co/t/reindex-error-failed-to-parse-content-to-map/119841 "2018-02-14T16:19:17Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![narschang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/narschang/32/20178_2.png) [@narschang](https://discuss.elastic.co/u/narschang)
#### Post date: [February 14, 2018, 4:19pm UTC](https://discuss.elastic.co/t/reindex-error-failed-to-parse-content-to-map/119841/1 "2018-02-14T16:19:18Z")

</div>

I followed the instruction [in this page](https://www.elastic.co/guide/en/kibana/current/migrating-6.0-index.html) to manually reindex the **Kibana index** to get ready to upgrade our Elasticsearch server from 5.6.7 to 6.x.

The first step (Set .kibana index to read-only) went ok, but I got an error message when performing the second step (Create .kibana-6 index). This is the console output I received:

{  
"error": {  
"root\_cause": [  
{  
"type": "parse\_exception",  
"reason": "Failed to parse content to map"  
}  
],  
"type": "parse\_exception",  
"reason": "Failed to parse content to map",  
"caused\_by": {  
"type": "json\_parse\_exception",  
"reason": "Unexpected character ('"' (code 34)): was expecting comma to separate Object entries\n at [Source: org.elasticsearch.transport.netty4.ByteBufStreamInput@3d567acd; line: 5, column: 6]"  
}  
},  
"status": 400  
}

The command I ran is identical to the step 2 example in the instruction other than adding "index.format": 6 and "index.mapping.single\_type": true under settings. Please see the screenshot below.

 ![30%20AM](https://us1.discourse-cdn.com/elastic/original/3X/3/4/34e389a019e74a6de3d96d46a59b55697d90ecf1.png)

How can I fix the issue? Thanks.

---

<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: [March 14, 2018, 4:19pm UTC](https://discuss.elastic.co/t/reindex-error-failed-to-parse-content-to-map/119841/2 "2018-03-14T16:19:47Z")

</div>

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