# Node\_disconnected\_exception - while trying to get data using Scroll Api

**URL:** https://discuss.elastic.co/t/node-disconnected-exception-while-trying-to-get-data-using-scroll-api/305696
**Category:** Elasticsearch
**Created:** [May 26, 2022, 9:35am UTC](https://discuss.elastic.co/t/node-disconnected-exception-while-trying-to-get-data-using-scroll-api/305696 "2022-05-26T09:35:05Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Gojo](https://avatars.discourse-cdn.com/v4/letter/g/2acd7d/32.png) [@Gojo](https://discuss.elastic.co/u/Gojo)
#### Post date: [May 26, 2022, 9:35am UTC](https://discuss.elastic.co/t/node-disconnected-exception-while-trying-to-get-data-using-scroll-api/305696/1 "2022-05-26T09:35:05Z")

</div>

hi all , we are trying to get data from es , using scroll api . where we try to use scroll\_request to get scroll id and scroll data but some large indices , its failing

```auto

Error :
 node_disconnected_exception , 'status': 500
'root_cause': type': 'node_disconnected_exception',

[indices:data/read/search[phase/fetch/id]] disconnected'}], 'type': 'search_phase_execution_exception', 'reason': 'all shards failed', 'phase': 'fetch', 'grouped': True, 'failed_shards':

```

---

<div class="post-metadata">

### Author: ![Gojo](https://avatars.discourse-cdn.com/v4/letter/g/2acd7d/32.png) [@Gojo](https://discuss.elastic.co/u/Gojo)
#### Post date: [May 27, 2022, 11:48am UTC](https://discuss.elastic.co/t/node-disconnected-exception-while-trying-to-get-data-using-scroll-api/305696/2 "2022-05-27T11:48:48Z")

</div>

anyone please help me ....

---

<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: [May 30, 2022, 4:17am UTC](https://discuss.elastic.co/t/node-disconnected-exception-while-trying-to-get-data-using-scroll-api/305696/3 "2022-05-30T04:17:22Z")

</div>

We will need more information to be able to help.

What version of Elasticsearch are you running?  
What do the logs on the master node show when you get this error?

---

<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: [June 27, 2022, 4:17am UTC](https://discuss.elastic.co/t/node-disconnected-exception-while-trying-to-get-data-using-scroll-api/305696/4 "2022-06-27T04:17:29Z")

</div>

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