Version conflict coming without passing version es 5.6

Update requests internally use versions to make sure the update is semantically correct. What happened is that the Update API fetched the document, noted the version, applied the changes and tried to reindex it. After fetching but before reindexing the change, some other process updated the document and so the update failed.

You just need to retry the update, or specify retry_on_conflict to do it automatically.