# INVALID_PAGINATION

- Surface: API
- HTTP status: 400
- Details: `{ field: "cursor" | "limit", reason: string }`

## Cause

The `cursor` or `limit` on a list request could not be used.

## Fix

`details.field` names which one, and `details.reason` says why. Drop the cursor and start a fresh page, or bring the limit back inside the documented range.

## Related

- [INVALID_SORT](https://splitch.dev/docs/error/INVALID_SORT)
- [VALIDATION_ERROR](https://splitch.dev/docs/error/VALIDATION_ERROR)

Source: https://splitch.dev/docs/error/INVALID_PAGINATION