# Elastic search error in application, Error message - " An error occurred while requesting elastic search for data on index 'denmod\_y\_\*'

**URL:** <https://discuss.elastic.co/t/elastic-search-error-in-application-error-message-an-error-occurred-while-requesting-elastic-search-for-data-on-index-denmod-y/190261>\
**Category:** Elasticsearch\
**Created:** [July 12, 2019, 2:51pm UTC](https://discuss.elastic.co/t/elastic-search-error-in-application-error-message-an-error-occurred-while-requesting-elastic-search-for-data-on-index-denmod-y/190261 "2019-07-12T14:51:16Z")\
**Posts on this page:** 8\
**Page:** 2

<div class="post-metadata">

**Author:** ![Joseph\_Raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joseph_raj/32/46850_2.png) [@Joseph\_Raj](https://discuss.elastic.co/u/Joseph_Raj)\
**Post date:** [August 1, 2019, 11:08am UTC](https://discuss.elastic.co/t/elastic-search-error-in-application-error-message-an-error-occurred-while-requesting-elastic-search-for-data-on-index-denmod-y/190261/21 "2019-08-01T11:08:40Z")

</div>

Can you please help us to know, how to identify which index(en\_y\_\*\*) relates to which document(denmod\_y\_\*\*\*\*) .

---

<div class="post-metadata">

**Author:** ![xeraa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xeraa/32/48181_2.png) [@xeraa](https://discuss.elastic.co/u/xeraa)\
**Post date:** [August 1, 2019, 1:35pm UTC](https://discuss.elastic.co/t/elastic-search-error-in-application-error-message-an-error-occurred-while-requesting-elastic-search-for-data-on-index-denmod-y/190261/22 "2019-08-01T13:35:53Z")

</div>

`a previous copy of the primary shard existed but can no longer be found on the nodes in the cluster`: I don't think there's any way to recover that. Especially since we don't know how this happened.

I don't fully understand the question about the document and the index. Generally, when you find / retrieve a document it should return it's metadata including `_index`.

---

<div class="post-metadata">

**Author:** ![Joseph\_Raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joseph_raj/32/46850_2.png) [@Joseph\_Raj](https://discuss.elastic.co/u/Joseph_Raj)\
**Post date:** [August 1, 2019, 1:57pm UTC](https://discuss.elastic.co/t/elastic-search-error-in-application-error-message-an-error-occurred-while-requesting-elastic-search-for-data-on-index-denmod-y/190261/23 "2019-08-01T13:57:07Z")

</div>

Thanks for the answer.

Let me give it clearly with the screenshot, as per that you could see en\_y\_\*\* is an index and below that a field displaye as denmod\_y\_\*\*\*\*. please help me to understand what it actually says.

 ![Snapshot_01082019](https://us1.discourse-cdn.com/elastic/original/3X/5/f/5fe895c35efeb50d01bc8558e037adc8c4073965.png)

---

<div class="post-metadata">

**Author:** ![xeraa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xeraa/32/48181_2.png) [@xeraa](https://discuss.elastic.co/u/xeraa)\
**Post date:** [August 1, 2019, 2:20pm UTC](https://discuss.elastic.co/t/elastic-search-error-in-application-error-message-an-error-occurred-while-requesting-elastic-search-for-data-on-index-denmod-y/190261/24 "2019-08-01T14:20:58Z")

</div>

TBH I don't know what that is — it's not one of our tools. But what you are displaying is a field name or value? Depending on that you could either find it in the mappings or with a query. Though I'm not sure how this relates to the problem.

---

<div class="post-metadata">

**Author:** ![Joseph\_Raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joseph_raj/32/46850_2.png) [@Joseph\_Raj](https://discuss.elastic.co/u/Joseph_Raj)\
**Post date:** [August 2, 2019, 6:48am UTC](https://discuss.elastic.co/t/elastic-search-error-in-application-error-message-an-error-occurred-while-requesting-elastic-search-for-data-on-index-denmod-y/190261/25 "2019-08-02T06:48:52Z")

</div>

Above mentioned screenshot is taken from Cerebro tool.

---

<div class="post-metadata">

**Author:** ![Joseph\_Raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joseph_raj/32/46850_2.png) [@Joseph\_Raj](https://discuss.elastic.co/u/Joseph_Raj)\
**Post date:** [August 7, 2019, 7:41am UTC](https://discuss.elastic.co/t/elastic-search-error-in-application-error-message-an-error-occurred-while-requesting-elastic-search-for-data-on-index-denmod-y/190261/26 "2019-08-07T07:41:43Z")

</div>

Even after making the indices to green by manually allocating primary shards to a node, Now again the index status is showing in red status. Also the unassigned shards are increased from 132 to 634 now.

> <https://gist.github.com/josephraj08/fdf2c189ceb0d61c2f3264f34c7a81b1>

Kindly help us on this issue again.

---

<div class="post-metadata">

**Author:** ![Joseph\_Raj](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joseph_raj/32/46850_2.png) [@Joseph\_Raj](https://discuss.elastic.co/u/Joseph_Raj)\
**Post date:** [August 8, 2019, 9:10am UTC](https://discuss.elastic.co/t/elastic-search-error-in-application-error-message-an-error-occurred-while-requesting-elastic-search-for-data-on-index-denmod-y/190261/27 "2019-08-08T09:10:36Z")

</div>

Can you please help us, as we are waiting for your reply for the above query.

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:** [September 5, 2019, 9:10am UTC](https://discuss.elastic.co/t/elastic-search-error-in-application-error-message-an-error-occurred-while-requesting-elastic-search-for-data-on-index-denmod-y/190261/28 "2019-09-05T09:10:52Z")

</div>

Closed on September 5, 2019, 9:10am UTC

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

[Previous page](https://discuss.elastic.co/t/elastic-search-error-in-application-error-message-an-error-occurred-while-requesting-elastic-search-for-data-on-index-denmod-y/190261.md?page=1)
