# Unable to Update Kibana Dashboard - Version Conflict Error

**URL:** <https://discuss.elastic.co/t/unable-to-update-kibana-dashboard-version-conflict-error/62450>\
**Category:** Elasticsearch\
**Created:** [October 7, 2016, 4:32am UTC](https://discuss.elastic.co/t/unable-to-update-kibana-dashboard-version-conflict-error/62450 "2016-10-07T04:32:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![eli.keimig](https://avatars.discourse-cdn.com/v4/letter/e/e9c0ed/32.png) [@eli.keimig](https://discuss.elastic.co/u/eli.keimig)\
**Post date:** [October 7, 2016, 4:32am UTC](https://discuss.elastic.co/t/unable-to-update-kibana-dashboard-version-conflict-error/62450/1 "2016-10-07T04:32:41Z")

</div>

Dashboard: Request to Elasticsearch failed: "Failed to store document changes do to a version conflict."

Version: 5.0.0-beta1-SNAPSHOT  
Build: 14648

```
Error: Request to Elasticsearch failed: "Failed to store document changes do to a version conflict."
    at http://localhost:5601/bundles/kibana.bundle.js?v=14648:26:13175
    at processQueue (http://localhost:5601/bundles/commons.bundle.js?v=14648:38:23621)
    at http://localhost:5601/bundles/commons.bundle.js?v=14648:38:23888
    at Scope.$eval (http://localhost:5601/bundles/commons.bundle.js?v=14648:39:4619)
    at Scope.$digest (http://localhost:5601/bundles/commons.bundle.js?v=14648:39:2359)
    at Scope.$apply (http://localhost:5601/bundles/commons.bundle.js?v=14648:39:5037)
    at done (http://localhost:5601/bundles/commons.bundle.js?v=14648:37:25027)
    at completeRequest (http://localhost:5601/bundles/commons.bundle.js?v=14648:37:28702)
    at XMLHttpRequest.xhr.onload (http://localhost:5601/bundles/commons.bundle.js?v=14648:37:29634)

```

Clearing session data doesn't resolve the issue, nor does new browser session or ES restart.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 7, 2016, 9:11am UTC](https://discuss.elastic.co/t/unable-to-update-kibana-dashboard-version-conflict-error/62450/2 "2016-10-07T09:11:37Z")

</div>

Anything corresponding in the ES logs?

---

<div class="post-metadata">

**Author:** ![eli.keimig](https://avatars.discourse-cdn.com/v4/letter/e/e9c0ed/32.png) [@eli.keimig](https://discuss.elastic.co/u/eli.keimig)\
**Post date:** [October 7, 2016, 12:58pm UTC](https://discuss.elastic.co/t/unable-to-update-kibana-dashboard-version-conflict-error/62450/3 "2016-10-07T12:58:28Z")

</div>

Sorry, meant to include that yesterday:

```
[2016-10-07T00:03:11,327][DEBUG][o.e.a.a.i.m.p.TransportPutMappingAction] [es-01-lg] failed to put mappings on indices [[[.kibana/c9PHHnXHSRue7YMgfY1APQ]]], type [timelion-sheet]
java.lang.IllegalArgumentException: mapper [version] cannot be changed from type [long] to [integer]
        at org.elasticsearch.index.mapper.MappedFieldType.checkTypeName(MappedFieldType.java:144) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.index.mapper.MappedFieldType.checkCompatibility(MappedFieldType.java:156) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.index.mapper.FieldTypeLookup.checkCompatibility(FieldTypeLookup.java:128) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.index.mapper.FieldTypeLookup.copyAndAddAll(FieldTypeLookup.java:94) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:324) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:277) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.cluster.metadata.MetaDataMappingService$PutMappingExecutor.applyRequest(MetaDataMappingService.java:323) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.cluster.metadata.MetaDataMappingService$PutMappingExecutor.execute(MetaDataMappingService.java:241) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.cluster.service.ClusterService.runTasksForExecutor(ClusterService.java:555) [elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.cluster.service.ClusterService$UpdateTask.run(ClusterService.java:894) [elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:444) [elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:237) [elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:200) [elasticsearch-5.0.0-beta1.jar:5.0.0-beta1]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_102]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_102]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]
```

---

<div class="post-metadata">

**Author:** ![eli.keimig](https://avatars.discourse-cdn.com/v4/letter/e/e9c0ed/32.png) [@eli.keimig](https://discuss.elastic.co/u/eli.keimig)\
**Post date:** [October 7, 2016, 5:34pm UTC](https://discuss.elastic.co/t/unable-to-update-kibana-dashboard-version-conflict-error/62450/4 "2016-10-07T17:34:33Z")

</div>

I am now getting the error for visualizations as well when attempting to update them - this was not happening several hours ago:

`Visualization Editor: Request to Elasticsearch failed: "Failed to store document changes do to a version conflict."`

From ES Log:  
`[2016-10-07T13:29:30,050][DEBUG][o.e.a.a.i.m.p.TransportPutMappingAction] [es-01-lg] failed to put mappings on indices [[[.kibana/c9PHHnXHSRue7YMgfY1APQ]]], type [search] java.lang.IllegalArgumentException: mapper [hits] cannot be changed from type [long] to [integer] at org.elasticsearch.index.mapper.MappedFieldType.checkTypeName(MappedFieldType.java:144) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.index.mapper.MappedFieldType.checkCompatibility(MappedFieldType.java:156) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.index.mapper.FieldTypeLookup.checkCompatibility(FieldTypeLookup.java:128) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.index.mapper.FieldTypeLookup.copyAndAddAll(FieldTypeLookup.java:94) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:324) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:277) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.cluster.metadata.MetaDataMappingService$PutMappingExecutor.applyRequest(MetaDataMappingService.java:323) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.cluster.metadata.MetaDataMappingService$PutMappingExecutor.execute(MetaDataMappingService.java:241) ~[elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.cluster.service.ClusterService.runTasksForExecutor(ClusterService.java:555) [elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.cluster.service.ClusterService$UpdateTask.run(ClusterService.java:894) [elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:444) [elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:237) [elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:200) [elasticsearch-5.0.0-beta1.jar:5.0.0-beta1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_102] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_102] at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]`

---

<div class="post-metadata">

**Author:** ![eli.keimig](https://avatars.discourse-cdn.com/v4/letter/e/e9c0ed/32.png) [@eli.keimig](https://discuss.elastic.co/u/eli.keimig)\
**Post date:** [October 30, 2016, 1:26pm UTC](https://discuss.elastic.co/t/unable-to-update-kibana-dashboard-version-conflict-error/62450/5 "2016-10-30T13:26:01Z")

</div>

Appears to have been resolved in 5.0.0 GA

---

<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:** [July 5, 2017, 10:08pm UTC](https://discuss.elastic.co/t/unable-to-update-kibana-dashboard-version-conflict-error/62450/6 "2017-07-05T22:08:28Z")

</div>


