Add stop_condition or max_page_number to DefaultPaginator #71289
meyerovb
started this conversation in
Connector Ideas and Features
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
wordpress (and im sure many other apis) blows up on some endpoints (media is one) when you request a page beyond the max. So if page size is 100 and there are exactly 200 records (response header x-wp-totalpages value of 2), DefaultPaginator will request page 3 and throw an error.
Beta Was this translation helpful? Give feedback.
All reactions