# Page contains invalid option: current; must be less than or equal to 100

**URL:** <https://community.swiftype.com/t/page-contains-invalid-option-current-must-be-less-than-or-equal-to-100/869>\
**Category:** API\
**Created:** [September 21, 2018, 3:12pm UTC](https://community.swiftype.com/t/page-contains-invalid-option-current-must-be-less-than-or-equal-to-100/869 "2018-09-21T15:12:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![martin](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@martin](https://community.swiftype.com/u/martin)\
**Post date:** [September 21, 2018, 3:12pm UTC](https://community.swiftype.com/t/page-contains-invalid-option-current-must-be-less-than-or-equal-to-100/869/1 "2018-09-21T15:12:29Z")

</div>

I’m getting this error back when attempting a simple API search to App Search.

“Page contains invalid option: current; must be less than or equal to 100”

The error message is fairly self-explanatory but I’m dealing with result sets of many thousands of records (e.g. 4037 records at 10 a page) so a limit of 100 pages is no good and clicking “last page” is just getting an error as above.

Please advise.

---

<div class="post-metadata">

**Author:** ![jason.stoltzfus](https://sea1.discourse-cdn.com/flex019/user_avatar/community.swiftype.com/jason.stoltzfus/32/171_2.png) [@jason.stoltzfus](https://community.swiftype.com/u/jason.stoltzfus)\
**Post date:** [October 31, 2018, 3:00pm UTC](https://community.swiftype.com/t/page-contains-invalid-option-current-must-be-less-than-or-equal-to-100/869/2 "2018-10-31T15:00:30Z")

</div>

Hey @martin.

I typically just cap my pagination at 100 pages. Your use case may differ, but I think typically it’s rare for a user to page that far in any paginated experience.

Best,

Jason
