# ReIndex API throws strict dynamic mapping exception

**URL:** <https://discuss.elastic.co/t/reindex-api-throws-strict-dynamic-mapping-exception/173729>\
**Category:** Elasticsearch\
**Created:** [March 25, 2019, 10:43am UTC](https://discuss.elastic.co/t/reindex-api-throws-strict-dynamic-mapping-exception/173729 "2019-03-25T10:43:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![paul1243](https://avatars.discourse-cdn.com/v4/letter/p/e99b99/32.png) [@paul1243](https://discuss.elastic.co/u/paul1243)\
**Post date:** [March 25, 2019, 10:43am UTC](https://discuss.elastic.co/t/reindex-api-throws-strict-dynamic-mapping-exception/173729/1 "2019-03-25T10:43:16Z")

</div>

Hi  
When I try to re-index the .kibana index; I get an exception for all the documents:  
Could someone please help me how to fix this error; since all my dashboards disappeared and have to restore the .kibana index.

Request:

```auto
POST _reindex
{
  "source": {
    "index": ".kibana-6"
  },
  "dest": {
    "index": ".kibana"
  }
}

```

Response:

```auto
{
  "took": 814,
  "timed_out": false,
  "total": 232,
  "updated": 0,
  "created": 4,
  "deleted": 0,
  "batches": 1,
  "version_conflicts": 0,
  "noops": 0,
  "retries": {
    "bulk": 0,
    "search": 0
  },
  "throttled_millis": 0,
  "requests_per_second": -1,
  "throttled_until_millis": 0,
  "failures": [
    {
      "index": ".kibana",
      "type": "doc",
      "id": "doc:visualization:aeb212e0-4c84-11e8-b3d7-01146121b73d",
      "cause": {
        "type": "strict_dynamic_mapping_exception",
        "reason": "mapping set to strict, dynamic introduction of [doc] within [doc] is not allowed"
      },
      "status": 400

```

---

<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 22, 2019, 10:43am UTC](https://discuss.elastic.co/t/reindex-api-throws-strict-dynamic-mapping-exception/173729/2 "2019-04-22T10:43:16Z")

</div>

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