# Logstash. Version Conflict

**URL:** <https://discuss.elastic.co/t/logstash-version-conflict/161485>\
**Category:** Logstash\
**Created:** [December 19, 2018, 10:09am UTC](https://discuss.elastic.co/t/logstash-version-conflict/161485 "2018-12-19T10:09:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shakir](https://avatars.discourse-cdn.com/v4/letter/s/e47c2d/32.png) [@shakir](https://discuss.elastic.co/u/shakir)\
**Post date:** [December 19, 2018, 10:09am UTC](https://discuss.elastic.co/t/logstash-version-conflict/161485/1 "2018-12-19T10:09:05Z")

</div>

**Version\_conflict\_engine\_exception. Version conflict, current version [64] is different than the one provided [63]**  
I am trying to update document using logstash, getting below error.  
Tried **retry\_on\_conflict** with value 5 but getting same error.

[WARN][logstash.outputs.elasticsearch] Failed action.  
{ :status=\>409,  
:action=\>["update",  
{:\_id=\>"7852",  
:\_index=\>"bydepot\_app",  
:\_type=\>"doc",  
:\_routing=\>nil,  
:\_retry\_on\_conflict=\>1  
},  
#LogStash::Event:0x5012f82  
],  
:response=\>{  
"update"=\>{  
"\_index"=\>"bydepot\_app",  
"\_type"=\>"doc",  
"\_id"=\>"7852",  
"status"=\>409,  
"error"=\>{  
**"type"=\>"version\_conflict\_engine\_exception", \*\*  
\*\* "reason"=\>"[doc][7852]: version conflict, current version [64] is different than the one provided [63]"**,  
"index\_uuid"=\>"4M\_A9SS2Rl-bc7oe\_IQNZQ",  
"shard"=\>"3",  
"index"=\>"bydepot\_app"  
}  
}  
}  
}

---

<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:** [January 16, 2019, 10:09am UTC](https://discuss.elastic.co/t/logstash-version-conflict/161485/2 "2019-01-16T10:09:08Z")

</div>

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