# Failed to restore the incdices

**URL:** <https://discuss.elastic.co/t/failed-to-restore-the-incdices/299848>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [March 16, 2022, 10:16am UTC](https://discuss.elastic.co/t/failed-to-restore-the-incdices/299848 "2022-03-16T10:16:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kannan\_raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kannan_raj/32/63201_2.png) [@kannan\_raj](https://discuss.elastic.co/u/kannan_raj)\
**Post date:** [March 16, 2022, 10:16am UTC](https://discuss.elastic.co/t/failed-to-restore-the-incdices/299848/1 "2022-03-16T10:16:29Z")

</div>

we are unable to restore some indices and get json\_parse\_exception. repo is in S3 bucket.

```auto
curl -u user:passwd - H 'Content-Type: application/json' -XPOST https://<hostname>:9200/_snapshot/<reponame>/<snapshot_name>/_restore?wait_for_completion=false -d @index_to_restore.json

cat index_to_restore.json
{
    "indices": "index name",
    "index_settings": {"index.number_of_replicas": 0},
    "rename_pattern": "(.+)",
    "rename_replacement": "$1_restore",
    "include_aliases": false,
    "ignore_unavailable": true
}

```

Error

```auto
{
  "error" : {
    "root_cause" : [
      {
        "type" : "json_parse_exception",
        "reason" : "Duplicate field 'fv'\n at [Source: (org.elasticsearch.repositories.blobstore.ChecksumBlobStoreFormat$DeserializeMetaBlobInputStream); line: -1, column: 226424]"
      }
    ],
    "type" : "json_parse_exception",
    "reason" : "Duplicate field 'fv'\n at [Source: (org.elasticsearch.repositories.blobstore.ChecksumBlobStoreFormat$DeserializeMetaBlobInputStream); line: -1, column: 226424]"
  },
  "status" : 400
}

```

Elasticsearch version is 7.16.2.

could you please let me know why \_restore API is failed with json\_parser\_exception for some indices?

is it possible to ignore the field while restoring the index?

---

<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:** [April 13, 2022, 10:16am UTC](https://discuss.elastic.co/t/failed-to-restore-the-incdices/299848/2 "2022-04-13T10:16:51Z")

</div>

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