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.