Sign inConnect your AI
api / errors

Invalid cursor

HTTP 400, code invalid_cursor.

Updated · API v1

What it means

The cursor was not issued by Adspy, was altered, expired after 24 hours, belongs to another organization or another list, or was sent with different filters than the request that returned it.

What to do

Send the cursor with exactly the filters of the request that returned it, or start again from the first page without a cursor.

Not retryable as it is: sending the same request again gives the same answer.

The answer

application/problem+json
{
  "type": "https://www.adspy.sh/docs/api/errors/invalid-cursor",
  "title": "Invalid cursor",
  "status": 400,
  "detail": "…",
  "code": "invalid_cursor",
  "request_id": "3f5b9c2e-8d41-4a7e-9b0c-6e2d1f4a8c37",
  "instance": "/api/v1/…"
}

Every error type and how to handle them.