# Datafeed is encountering errors extracting data. Search request encountered \[5\] unavailable shards

**URL:** <https://discuss.elastic.co/t/datafeed-is-encountering-errors-extracting-data-search-request-encountered-5-unavailable-shards/129503>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning\
**Created:** [April 25, 2018, 1:49pm UTC](https://discuss.elastic.co/t/datafeed-is-encountering-errors-extracting-data-search-request-encountered-5-unavailable-shards/129503 "2018-04-25T13:49:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tsullivan93](https://avatars.discourse-cdn.com/v4/letter/t/58956e/32.png) [@tsullivan93](https://discuss.elastic.co/u/tsullivan93)\
**Post date:** [April 25, 2018, 1:49pm UTC](https://discuss.elastic.co/t/datafeed-is-encountering-errors-extracting-data-search-request-encountered-5-unavailable-shards/129503/1 "2018-04-25T13:49:49Z")

</div>

I received the above error on one of my machine learning jobs and I'm looking into some insight into what exactly happened. There was a data interruption in the creation of the new daily index the job is analyzing, but a similar job that uses the same index had no errors

---

<div class="post-metadata">

**Author:** ![richcollier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/richcollier/32/115035_2.png) [@richcollier](https://discuss.elastic.co/u/richcollier)\
**Post date:** [April 25, 2018, 9:55pm UTC](https://discuss.elastic.co/t/datafeed-is-encountering-errors-extracting-data-search-request-encountered-5-unavailable-shards/129503/2 "2018-04-25T21:55:57Z")

</div>

It's possible that the two ML jobs were running on different schedules. So, the first job could encounter the error when there was the data interruption and the other job happened to run when the interruption cleared up?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 30, 2018, 10:21pm UTC](https://discuss.elastic.co/t/datafeed-is-encountering-errors-extracting-data-search-request-encountered-5-unavailable-shards/129503/3 "2018-10-30T22:21:33Z")

</div>


