On this page

API

invalid_cursor

HTTP 400. Invalid cursor

What it means

The pagination cursor expired or was altered.

What to do

Cursors last 24 hours and are opaque. Start the listing again without cursor. Never build or edit a cursor. See pagination.

Retrying

Do not retry the same request. Change it first.

Example

json
{
  "type": "https://reuseforge.com/docs/api/errors/invalid_cursor",
  "title": "Invalid cursor",
  "status": 400,
  "detail": "The cursor is invalid or has expired. Restart the listing without a cursor.",
  "instance": "/api/v1/items/acme/invoice-extractor",
  "code": "invalid_cursor",
  "request_id": "req_c4v8n2m6x1z3"
}

Every error is application/problem+json (RFC 9457). Branch on code, show detail to people and quote request_id when you ask for help. See the error catalogue.