{% extends "_layout.html" %} {% set title = "Invalid cursor" %} {% set status = "400 Bad Request" %} {% set description = "A stale or malformed ?cursor=. Restart the pagination." %} {% block main %}

The cursor you sent is stale, malformed, or not a position in this collection.

What to do

  1. Start the listing again without a cursor.
  2. Use cursors only as the server handed them back, from the Link header of the page before.

The body

{
  "type":     "https://sc.example.com/server-errors/invalid-cursor",
  "title":    "Invalid cursor",
  "status":   400,
  "detail":   "...",
  "instance": "/v1/jobs/01J9...",
  "trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}

detail is prose and may be reworded at any time. Branch on type — never parse detail.

Where it comes from

GET /v1/jobs
GET /v1/jobs/{id}/artifacts
{% include "_help.html" %}

What this is not

invalid-request is a malformed request in some other way; fixing the request is its answer, restarting the listing is this one’s.

{% endblock %}