Skip to main content

bad_pagination

The most common cause is a limit that isn’t a positive integer:
  • ?limit=0 → invalid; the minimum is 1.
  • ?limit=-5 → invalid; the minimum is 1.
  • ?limit=foo → not an integer.
A limit above the endpoint’s maximum is not an error. We clamp it down silently and return at most the maximum — ?limit=999 against a 50/200 endpoint yields 200 rows, not a 400. Read pagination.has_more rather than assuming you got everything you asked for. Recover by sending a limit that is a positive integer, and (optionally) a fresh cursor. Maximums differ per endpoint family (50/200, 25/100, and 12/30 for /viral-posts) — see conventions.md §pagination for the table, or the operation’s limit parameter in the OpenAPI reference.