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

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.

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