# What happens when I post the same scrollId after some timeout failure

**URL:** <https://discuss.elastic.co/t/what-happens-when-i-post-the-same-scrollid-after-some-timeout-failure/14259>\
**Category:** Elasticsearch\
**Created:** [November 5, 2013, 11:41am UTC](https://discuss.elastic.co/t/what-happens-when-i-post-the-same-scrollid-after-some-timeout-failure/14259 "2013-11-05T11:41:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ronsher](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ronsher/32/1334_2.png) [@ronsher](https://discuss.elastic.co/u/ronsher)\
**Post date:** [November 5, 2013, 11:41am UTC](https://discuss.elastic.co/t/what-happens-when-i-post-the-same-scrollid-after-some-timeout-failure/14259/1 "2013-11-05T11:41:04Z")

</div>

Hi,

I'm using the scroll mechanism and was wondering what happens if during any of the request I get a timeout failure (not a scroll timeout, but a timeout from the query) and then reissue the request with the same scroll id?  
Will I get the same batch that ES tried to return and failed, or will I get the next batch (and lose the previous failing batch)?

Thanks

---

<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:** [July 6, 2017, 2:08am UTC](https://discuss.elastic.co/t/what-happens-when-i-post-the-same-scrollid-after-some-timeout-failure/14259/2 "2017-07-06T02:08:54Z")

</div>


