conflicting_pagination_params
`starting_after` and `ending_before` travelled in the same request. They walk the collection in opposite directions, so only one of them can apply.
| Code | Type | HTTP | Category |
|---|---|---|---|
conflicting_pagination_params | invalid_request_error | 422 | Request |
Cause
starting_after and ending_before travelled in the same request. They walk the collection in opposite directions, so only one of them can apply.
What to do
Keep a single cursor: starting_after to move forward through the collection, ending_before to move backwards.
Related
All Request error codes
Causes and actions for errors in this category.
Error codes by category
Find an error by the category that emits it.
Full reference table
All codes, HTTP statuses, types and descriptions in one reference.
Error model
Interpret the error envelope and handle errors by code.