# GET /.tasks/task/{taskId} is not availbale when update by query task is running

**URL:** https://discuss.elastic.co/t/get-tasks-task-taskid-is-not-availbale-when-update-by-query-task-is-running/148271
**Category:** Elasticsearch
**Created:** [September 12, 2018, 7:42am UTC](https://discuss.elastic.co/t/get-tasks-task-taskid-is-not-availbale-when-update-by-query-task-is-running/148271 "2018-09-12T07:42:23Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![seeyou2day](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/seeyou2day/32/95176_2.png) [@seeyou2day](https://discuss.elastic.co/u/seeyou2day)
#### Post date: [September 12, 2018, 7:42am UTC](https://discuss.elastic.co/t/get-tasks-task-taskid-is-not-availbale-when-update-by-query-task-is-running/148271/1 "2018-09-12T07:42:24Z")

</div>

when update by query is running with wait\_for\_completion=false,  
I can't get the response with '/.tasks/task/{taskId}'.

It works after the action has finished.

If I want to check the status while update-by-query is running,  
how can I do with 'taskId'??

---

<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: [October 10, 2018, 7:42am UTC](https://discuss.elastic.co/t/get-tasks-task-taskid-is-not-availbale-when-update-by-query-task-is-running/148271/2 "2018-10-10T07:42:27Z")

</div>

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