All API errors
Status 400

cursor_invalid

The cursor is not valid

Why it happens

The cursor does not decode, belongs to another sort order, or points at a row that has left the list.

What to do

Send back the meta.cursor of the last page unchanged, with the same sort. If the row has left the list, start again from the first page.

Example

400 · application/problem+json
{
  "type": "https://unique.domains/api/problems/cursor_invalid",
  "title": "The cursor is not valid",
  "status": 400,
  "detail": "The cursor does not decode.",
  "instance": "/v1/domains",
  "code": "cursor_invalid"
}

Ask AI about Unique Domains