# Task not found after Elasticsearch restart

**URL:** https://discuss.elastic.co/t/task-not-found-after-elasticsearch-restart/254518
**Category:** Elasticsearch
**Created:** [November 6, 2020, 10:57am UTC](https://discuss.elastic.co/t/task-not-found-after-elasticsearch-restart/254518 "2020-11-06T10:57:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![nisham](https://avatars.discourse-cdn.com/v4/letter/n/35a633/32.png) [@nisham](https://discuss.elastic.co/u/nisham)
#### Post date: [November 6, 2020, 10:57am UTC](https://discuss.elastic.co/t/task-not-found-after-elasticsearch-restart/254518/1 "2020-11-06T10:57:12Z")

</div>

Hello,

I had a reindexing task running, in between my Elasticsearch (7.9.1) got restarted. When I tried to get that task information using taks API its giving **resource\_not\_found\_exception** and **"task [2Wdrswwr433ss:11111] isn't running and hasn't stored its results"**

Is there any way to get the task details that was running before the Elasticsearch restart ? I have searched the **.tasks** index but found only completed task details.

Thanks in Advance.

---

<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 4, 2020, 10:57am UTC](https://discuss.elastic.co/t/task-not-found-after-elasticsearch-restart/254518/2 "2020-12-04T10:57:26Z")

</div>

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