# Scroll context exceeding 500

**URL:** <https://discuss.elastic.co/t/scroll-context-exceeding-500/302641>\
**Category:** Elasticsearch\
**Created:** [April 18, 2022, 7:34pm UTC](https://discuss.elastic.co/t/scroll-context-exceeding-500/302641 "2022-04-18T19:34:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abi\_Blista](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abi_blista/32/104499_2.png) [@Abi\_Blista](https://discuss.elastic.co/u/Abi_Blista)\
**Post date:** [April 18, 2022, 7:34pm UTC](https://discuss.elastic.co/t/scroll-context-exceeding-500/302641/1 "2022-04-18T19:34:17Z")

</div>

Im using python to pull large data from ES. When I tried to pull the data, Im getting this partucular issue scroll context exceeding 500.

is there way to resolve this issue

---

<div class="post-metadata">

**Author:** ![RabBit\_BR](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rabbit_br/32/82261_2.png) [@RabBit\_BR](https://discuss.elastic.co/u/RabBit_BR)\
**Post date:** [April 18, 2022, 8:01pm UTC](https://discuss.elastic.co/t/scroll-context-exceeding-500/302641/2 "2022-04-18T20:01:33Z")

</div>

maybe u need to change approach to retrieve more than 500 docs or reduce to 500

> To prevent against issues caused by having too many scrolls open, the user is not allowed to open scrolls past a certain limit. By default, the maximum number of open scrolls is 500. This limit can be updated with the `search.max_open_scroll_context` cluster setting.

> **[Paginate search results | Elasticsearch Guide \[8.11\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/paginate-search-results.html#scroll-search-context)**

---

<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:** [May 16, 2022, 8:02pm UTC](https://discuss.elastic.co/t/scroll-context-exceeding-500/302641/3 "2022-05-16T20:02:07Z")

</div>

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