# TASK doesn't support cancellation

**URL:** <https://discuss.elastic.co/t/task-doesnt-support-cancellation/234852>\
**Category:** Kibana\
**Created:** [May 29, 2020, 2:51am UTC](https://discuss.elastic.co/t/task-doesnt-support-cancellation/234852 "2020-05-29T02:51:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![realyn\_elastic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/realyn_elastic/32/47247_2.png) [@realyn\_elastic](https://discuss.elastic.co/u/realyn_elastic)\
**Post date:** [May 29, 2020, 2:51am UTC](https://discuss.elastic.co/t/task-doesnt-support-cancellation/234852/1 "2020-05-29T02:51:53Z")

</div>

Can help to enlighten why I cannot cancel this task

{  
"completed" : false,  
"task" : {  
"node" : "Vzjnc-d2SuOZ07\_6LCyl2A",  
"id" : 4779394,  
"type" : "transport",  
"action" : "cluster:admin/xpack/monitoring/bulk",  
"description" : "",  
"start\_time\_in\_millis" : 1589760017235,  
"running\_time\_in\_nanos" : 960362867263688,  
"cancellable" : false,  
"headers" : { }  
}  
}

{  
"completed" : false,  
"task" : {  
"node" : "Vzjnc-d2SuOZ07\_6LCyl2A",  
"id" : 4779395,  
"type" : "transport",  
"action" : "indices:data/write/bulk",  
"description" : "requests[1], indices[.monitoring-kibana-7-2020.05.18]",  
"start\_time\_in\_millis" : 1589760017237,  
"running\_time\_in\_nanos" : 960423096214079,  
"cancellable" : false,  
"headers" : { }  
}  
}

This system index (.monitoring-kibana-7-2020.05.18) is not exisiting, I can’t even delete

{  
"node\_failures" : [  
{  
"type" : "failed\_node\_exception",  
"reason" : "Failed node [Z40kmKesSmOY-IMH-Duzkw]",  
"node\_id" : "Z40kmKesSmOY-IMH-Duzkw",  
"caused\_by" : {  
"type" : "illegal\_argument\_exception",  
"reason" : "task [Z40kmKesSmOY-IMH-Duzkw:486196425] doesn't support cancellation"  
}  
}  
],  
"nodes" : { }  
}

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [May 29, 2020, 5:40pm UTC](https://discuss.elastic.co/t/task-doesnt-support-cancellation/234852/2 "2020-05-29T17:40:32Z")

</div>

Hi, it looks like this is a system task from the Elasticsearch Task Management API: [https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html). The Elasticsearch Discuss category is the place for information / help on this.

It would also help to use code formatting for the JSON, and include any error messages / what you have started out trying to do.

Thanks!

---

<div class="post-metadata">

**Author:** ![realyn\_elastic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/realyn_elastic/32/47247_2.png) [@realyn\_elastic](https://discuss.elastic.co/u/realyn_elastic)\
**Post date:** [June 3, 2020, 8:05am UTC](https://discuss.elastic.co/t/task-doesnt-support-cancellation/234852/3 "2020-06-03T08:05:17Z")

</div>

I was trying to cancel through the \_cancel API but didn't work.

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [June 9, 2020, 5:29pm UTC](https://discuss.elastic.co/t/task-doesnt-support-cancellation/234852/4 "2020-06-09T17:29:38Z")

</div>

Since this isn't a Kibana topic, the readers and team members here may not be able to give you the best help for this issue around the Elasticsearch API. Try asking over at [https://discuss.elastic.co/c/elastic-stack/elasticsearch/6](https://discuss.elastic.co/c/elastic-stack/elasticsearch/6)

Hope this helps,  
-Tim

---

<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 7, 2020, 5:29pm UTC](https://discuss.elastic.co/t/task-doesnt-support-cancellation/234852/5 "2020-07-07T17:29:39Z")

</div>

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