# Mapping Parser Error when migrating from version 1.7 to 6.5

**URL:** https://discuss.elastic.co/t/mapping-parser-error-when-migrating-from-version-1-7-to-6-5/162974
**Category:** Elasticsearch
**Created:** [January 4, 2019, 2:56pm UTC](https://discuss.elastic.co/t/mapping-parser-error-when-migrating-from-version-1-7-to-6-5/162974 "2019-01-04T14:56:50Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![itsron143](https://avatars.discourse-cdn.com/v4/letter/i/a6a055/32.png) [@itsron143](https://discuss.elastic.co/u/itsron143)
#### Post date: [January 4, 2019, 2:56pm UTC](https://discuss.elastic.co/t/mapping-parser-error-when-migrating-from-version-1-7-to-6-5/162974/1 "2019-01-04T14:56:51Z")

</div>

I have an index which I want to upgrade from version 1.7 to 6.5. I've been following [this](https://www.elastic.co/guide/en/elasticsearch/reference/current/reindex-upgrade.html) post for the migrating and decided to go with the second option of creating a 6.5 cluster first and then reindexing from remote.  
While [reindexing from remote](https://www.elastic.co/guide/en/elasticsearch/reference/current/reindex-upgrade-remote.html) it is specified that the mappings must be created of the 1.7 index in 6.5 but when I try to do that I get the following error - **Failed to parse mapping [couchbaseDocument]: name cannot be empty string**.  
I had gone through a couple of posts which said that [dot] in between words are not allowed but even after fixing that the error still occurs.  
Here is the link to the mapping - [Entire mapping json](https://jsoneditoronline.org/?id=67b734c40a6e4e18a4edfd3fa6ba4f26)  
Here is the link to the _couchbaseDocument_ part of the mapping which is causing the error - [couchbase mapping part](https://jsoneditoronline.org/?id=e7d010d3f4624f9997bcde11f485b17c)  
Please let me know what is causing the error. Thanks in advance 🙂

**Note** - I've also changed the terms such as _string_ to _text_ which can be seen in the above mentioned couchbase mapping part.

---

<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: [February 1, 2019, 2:56pm UTC](https://discuss.elastic.co/t/mapping-parser-error-when-migrating-from-version-1-7-to-6-5/162974/2 "2019-02-01T14:56:55Z")

</div>

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