# Update by query (async / task) - No failure info - Handling Conflicts

**URL:** https://discuss.elastic.co/t/update-by-query-async-task-no-failure-info-handling-conflicts/346755
**Category:** Elasticsearch
**Created:** [November 9, 2023, 6:08am UTC](https://discuss.elastic.co/t/update-by-query-async-task-no-failure-info-handling-conflicts/346755 "2023-11-09T06:08:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Irfanulla](https://avatars.discourse-cdn.com/v4/letter/i/f9ae1b/32.png) [@Irfanulla](https://discuss.elastic.co/u/Irfanulla)
#### Post date: [November 9, 2023, 6:08am UTC](https://discuss.elastic.co/t/update-by-query-async-task-no-failure-info-handling-conflicts/346755/1 "2023-11-09T06:08:55Z")

</div>

I am running an update by query as a task (wait\_for\_completion=false), with 'conflicts=proceed'. I do expect version conflicts to happen sometimes and can see that info in get task response (/task/task-id). I plan to reprocess the conflicted records.

Problem: When version conflicts do happen, **I don't see the conflicted record ids under 'failures' array** for me to be able to reprocess. Any suggestions in this regard are greatly appreciated.

```auto
"response" : {
    "took" : 69055,
    "timed_out" : false,
    "total" : 286164,
    "updated" : 285885,
    "created" : 0,
    "deleted" : 0,
    "batches" : 287,
    "version_conflicts" : 279,
    "noops" : 0,
    "retries" : {
      "bulk" : 0,
      "search" : 0
    },
    "throttled" : "0s",
    "throttled_millis" : 0,
    "requests_per_second" : -1.0,
    "throttled_until" : "0s",
    "throttled_until_millis" : 0,
    "failures" : []
  }

```

Note: Another observation is that if we run this with 'conflicts=abort', then we see failure info in the response as expected.

---

<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: [December 7, 2023, 6:09am UTC](https://discuss.elastic.co/t/update-by-query-async-task-no-failure-info-handling-conflicts/346755/2 "2023-12-07T06:09:04Z")

</div>

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