# Possible to scroll call ES v. 1.7 - how? I get errors

**URL:** <https://discuss.elastic.co/t/possible-to-scroll-call-es-v-1-7-how-i-get-errors/309653>\
**Category:** Elasticsearch\
**Created:** [July 14, 2022, 1:42pm UTC](https://discuss.elastic.co/t/possible-to-scroll-call-es-v-1-7-how-i-get-errors/309653 "2022-07-14T13:42:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![johand\_erst](https://avatars.discourse-cdn.com/v4/letter/j/f05b48/32.png) [@johand\_erst](https://discuss.elastic.co/u/johand_erst)\
**Post date:** [July 14, 2022, 1:42pm UTC](https://discuss.elastic.co/t/possible-to-scroll-call-es-v-1-7-how-i-get-errors/309653/1 "2022-07-14T13:42:18Z")

</div>

Can someone help me what to do to call ES v. 1.7 with \_scroll\_id, please?

According to the [documentation](https://www.elastic.co/guide/en/elasticsearch/reference/1.7/search-request-scroll.html) it should be possible.

Currently, I get one of these errors trying to pass \_scroll\_id in the payload:

I write in python although that should not be necessary to take that into account to help.

```json

{'error': 'SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[4IqWaNXkR4adj-gUBjhPmg][sagsindeks_v4][0]: RemoteTransportException[[eu-north-1c-i-0a96f238a819c41ca][inet[/172.31.7.36:9300]][indices:data/read/search[phase/query]]]; nested: SearchParseException[[sagsindeks_v4][0]: from[-1],size[-1]: Parse Failure [Failed to parse source [_na_]]]; nested: ElasticsearchParseException[Failed to derive xcontent]; }{[4IqWaNXkR4adj-gUBjhPmg][sagsindeks_v4][1]: RemoteTransportException[[eu-north-1c-i-0a96f238a819c41ca][inet[/172.31.7.36:9300]][indices:data/read/search[phase/query]]]; nested: SearchParseException[[sagsindeks_v4][1]: from[-1],size[-1]: Parse Failure [Failed to parse source [_na_]]]; nested: ElasticsearchParseException[Failed to derive xcontent]; }{[4IqWaNXkR4adj-gUBjhPmg][sagsindeks_v4][2]: RemoteTransportException[[eu-north-1c-i-0a96f238a819c41ca][inet[/172.31.7.36:9300]][indices:data/read/search[phase/query]]]; nested: SearchParseException[[sagsindeks_v4][2]: from[-1],size[-1]: Parse Failure [Failed to parse source [_na_]]]; nested: ElasticsearchParseException[Failed to derive xcontent]; }{[4IqWaNXkR4adj-gUBjhPmg][sagsindeks_v4][3]: RemoteTransportException[[eu-north-1c-i-0a96f238a819c41ca][inet[/172.31.7.36:9300]][indices:data/read/search[phase/query]]]; nested: SearchParseException[[sagsindeks_v4][3]: from[-1],size[-1]: Parse Failure [Failed to parse source [_na_]]]; nested: ElasticsearchParseException[Failed to derive xcontent]; }{[4IqWaNXkR4adj-gUBjhPmg][sagsindeks_v4][4]: RemoteTransportException[[eu-north-1c-i-0a96f238a819c41ca][inet[/172.31.7.36:9300]][indices:data/read/search[phase/query]]]; nested: SearchParseException[[sagsindeks_v4][4]: from[-1],size[-1]: Parse Failure [Failed to parse source [_na_]]]; nested: ElasticsearchParseException[Failed to derive xcontent]; }{[KjGjXnZuTvuTDIToI1WTWw][sagsindeks_v4][5]: SearchParseException[[sagsindeks_v4][5]: from[-1],size[-1]: Parse Failure [Failed to parse source [_na_]]]; nested: ElasticsearchParseException[Failed to derive xcontent]; }]', 'status': 400}

```

```json

{'error': 'SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[Xe5FZ51XT2O3NDuI6rDg-Q][sagsindeks_v4][0]: SearchParseException[[sagsindeks_v4][0]: from[-1],size[2500]: Parse Failure [Failed to parse source [{"_source": {"include": ["sagsnummer"]}, "size": "2500", "_scroll_id": "cXVlcnlUaGVuRmV0Y2g7Njs1OTE2MjM4OjRJcVdhTlhrUjRhZGotZ1VCamhQbWc7NTkyNjcxNjpYZTVGWjUxWFQyTzNORHVJNnJEZy1ROzU5MTYyMzc6NElxV2FOWGtSNGFkai1nVUJqaFBtZzs1OTI2NzE3OlhlNUZaNTFYVDJPM05EdUk2ckRnLVE7NTkxNjIzOTo0SXFXYU5Ya1I0YWRqLWdVQmpoUG1nOzU5MjY3MTg6WGU1Rlo1MVhUMk8zTkR1STZyRGctUTswOw=="}]]]; nested: SearchParseException[[sagsindeks_v4][0]: from[-1],size[2500]: Parse Failure [No parser for element [_scroll_id]]]; }{[KjGjXnZuTvuTDIToI1WTWw][sagsindeks_v4][1]: RemoteTransportException[[eu-north-1b-i-05ccbc21e1eaec9a9][inet[/172.31.7.20:9300]][indices:data/read/search[phase/query]]]; nested: SearchParseException[[sagsindeks_v4][1]: from[-1],size[2500]: Parse Failure [Failed to parse source [{"_source": {"include": ["sagsnummer"]}, "size": "2500", "_scroll_id": "cXVlcnlUaGVuRmV0Y2g7Njs1OTE2MjM4OjRJcVdhTlhrUjRhZGotZ1VCamhQbWc7NTkyNjcxNjpYZTVGWjUxWFQyTzNORHVJNnJEZy1ROzU5MTYyMzc6NElxV2FOWGtSNGFkai1nVUJqaFBtZzs1OTI2NzE3OlhlNUZaNTFYVDJPM05EdUk2ckRnLVE7NTkxNjIzOTo0SXFXYU5Ya1I0YWRqLWdVQmpoUG1nOzU5MjY3MTg6WGU1Rlo1MVhUMk8zTkR1STZyRGctUTswOw=="}]]]; nested: SearchParseException[[sagsindeks_v4][1]: from[-1],size[2500]: Parse Failure [No parser for element [_scroll_id]]]; }{[KjGjXnZuTvuTDIToI1WTWw][sagsindeks_v4][2]: RemoteTransportException[[eu-north-1b-i-05ccbc21e1eaec9a9][inet[/172.31.7.20:9300]][indices:data/read/search[phase/query]]]; nested: SearchParseException[[sagsindeks_v4][2]: from[-1],size[2500]: Parse Failure [Failed to parse source [{"_source": {"include": ["sagsnummer"]}, "size": "2500", "_scroll_id": "cXVlcnlUaGVuRmV0Y2g7Njs1OTE2MjM4OjRJcVdhTlhrUjRhZGotZ1VCamhQbWc7NTkyNjcxNjpYZTVGWjUxWFQyTzNORHVJNnJEZy1ROzU5MTYyMzc6NElxV2FOWGtSNGFkai1nVUJqaFBtZzs1OTI2NzE3OlhlNUZaNTFYVDJPM05EdUk2ckRnLVE7NTkxNjIzOTo0SXFXYU5Ya1I0YWRqLWdVQmpoUG1nOzU5MjY3MTg6WGU1Rlo1MVhUMk8zTkR1STZyRGctUTswOw=="}]]]; nested: SearchParseException[[sagsindeks_v4][2]: from[-1],size[2500]: Parse Failure [No parser for element [_scroll_id]]]; }{[KjGjXnZuTvuTDIToI1WTWw][sagsindeks_v4][3]: RemoteTransportException[[eu-north-1b-i-05ccbc21e1eaec9a9][inet[/172.31.7.20:9300]][indices:data/read/search[phase/query]]]; nested: SearchParseException[[sagsindeks_v4][3]: from[-1],size[2500]: Parse Failure [Failed to parse source [{"_source": {"include": ["sagsnummer"]}, "size": "2500", "_scroll_id": "cXVlcnlUaGVuRmV0Y2g7Njs1OTE2MjM4OjRJcVdhTlhrUjRhZGotZ1VCamhQbWc7NTkyNjcxNjpYZTVGWjUxWFQyTzNORHVJNnJEZy1ROzU5MTYyMzc6NElxV2FOWGtSNGFkai1nVUJqaFBtZzs1OTI2NzE3OlhlNUZaNTFYVDJPM05EdUk2ckRnLVE7NTkxNjIzOTo0SXFXYU5Ya1I0YWRqLWdVQmpoUG1nOzU5MjY3MTg6WGU1Rlo1MVhUMk8zTkR1STZyRGctUTswOw=="}]]]; nested: SearchParseException[[sagsindeks_v4][3]: from[-1],size[2500]: Parse Failure [No parser for element [_scroll_id]]]; }{[KjGjXnZuTvuTDIToI1WTWw][sagsindeks_v4][4]: RemoteTransportException[[eu-north-1b-i-05ccbc21e1eaec9a9][inet[/172.31.7.20:9300]][indices:data/read/search[phase/query]]]; nested: SearchParseException[[sagsindeks_v4][4]: from[-1],size[2500]: Parse Failure [Failed to parse source [{"_source": {"include": ["sagsnummer"]}, "size": "2500", "_scroll_id": "cXVlcnlUaGVuRmV0Y2g7Njs1OTE2MjM4OjRJcVdhTlhrUjRhZGotZ1VCamhQbWc7NTkyNjcxNjpYZTVGWjUxWFQyTzNORHVJNnJEZy1ROzU5MTYyMzc6NElxV2FOWGtSNGFkai1nVUJqaFBtZzs1OTI2NzE3OlhlNUZaNTFYVDJPM05EdUk2ckRnLVE7NTkxNjIzOTo0SXFXYU5Ya1I0YWRqLWdVQmpoUG1nOzU5MjY3MTg6WGU1Rlo1MVhUMk8zTkR1STZyRGctUTswOw=="}]]]; nested: SearchParseException[[sagsindeks_v4][4]: from[-1],size[2500]: Parse Failure [No parser for element [_scroll_id]]]; }{[4IqWaNXkR4adj-gUBjhPmg][sagsindeks_v4][5]: RemoteTransportException[[eu-north-1c-i-0a96f238a819c41ca][inet[/172.31.7.36:9300]][indices:data/read/search[phase/query]]]; nested: SearchParseException[[sagsindeks_v4][5]: from[-1],size[2500]: Parse Failure [Failed to parse source [{"_source": {"include": ["sagsnummer"]}, "size": "2500", "_scroll_id": "cXVlcnlUaGVuRmV0Y2g7Njs1OTE2MjM4OjRJcVdhTlhrUjRhZGotZ1VCamhQbWc7NTkyNjcxNjpYZTVGWjUxWFQyTzNORHVJNnJEZy1ROzU5MTYyMzc6NElxV2FOWGtSNGFkai1nVUJqaFBtZzs1OTI2NzE3OlhlNUZaNTFYVDJPM05EdUk2ckRnLVE7NTkxNjIzOTo0SXFXYU5Ya1I0YWRqLWdVQmpoUG1nOzU5MjY3MTg6WGU1Rlo1MVhUMk8zTkR1STZyRGctUTswOw=="}]]]; nested: SearchParseException[[sagsindeks_v4][5]: from[-1],size[2500]: Parse Failure [No parser for element [_scroll_id]]]; }]', 'status': 400}

```

---

<div class="post-metadata">

**Author:** ![johand\_erst](https://avatars.discourse-cdn.com/v4/letter/j/f05b48/32.png) [@johand\_erst](https://discuss.elastic.co/u/johand_erst)\
**Post date:** [July 15, 2022, 9:21am UTC](https://discuss.elastic.co/t/possible-to-scroll-call-es-v-1-7-how-i-get-errors/309653/2 "2022-07-15T09:21:45Z")

</div>

it seemed to work when specifying the \_scroll\_id in the query string e.g. inserting "?scroll\_id=" with the returned id afterwards.

in other words, i may have failed to correctly pass the \_scroll\_id through the request body. i inserted it in the payload (together with query: include: \_source and size: in json). perhaps it should not have been passed within the payload but rather below it.

---

<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:** [July 19, 2022, 1:54am UTC](https://discuss.elastic.co/t/possible-to-scroll-call-es-v-1-7-how-i-get-errors/309653/3 "2022-07-19T01:54:12Z")

</div>

1.7 is extremely old and you need to upgrade as a matter of urgency, see [EOL](https://www.elastic.co/support/eol).

---

<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:** [August 16, 2022, 1:54am UTC](https://discuss.elastic.co/t/possible-to-scroll-call-es-v-1-7-how-i-get-errors/309653/4 "2022-08-16T01:54:38Z")

</div>

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