---
title: "Invalid cursor (invalid-cursor)"
description: "PubNio invalid-cursor problem, HTTP 400: A list request's cursor does not decode: it was edited, truncated, or taken from another list."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Invalid cursor (invalid-cursor)

HTTP 400 Invalid cursor. A list request's `cursor` does not decode: it was edited, truncated, or taken from another list.

## When it happens

Every API operation except [`POST /api/v1/posts/validate`](https://pubnio.com/api/v1/docs#tag/posts/POST/api/v1/posts/validate) and [`GET /api/v1/billing/plans`](https://pubnio.com/api/v1/docs#tag/billing/GET/api/v1/billing/plans) declares it.

## Response body

```json
{
  "type": "https://pubnio.com/docs/problems/invalid-cursor/",
  "status": 400,
  "title": "Invalid cursor",
  "detail": "The cursor is malformed, expired, or from another version.",
  "code": "invalid_cursor",
  "nextAction": "Read the first page without a cursor and pass nextCursor verbatim.",
  "requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}
```

| Field        | Type   | Always present |
| ------------ | ------ | -------------- |
| `nextAction` | string | No             |

## Recovery for agents

- Do what `nextAction` says.

## Retryable

No: the SDKs mark HTTP 400 not `retryable`.

## Limits

- Match on `type` or `code`, not on `detail`.

## Related

- [General problems](https://pubnio.com/docs/problems/#general)
- [API reference](https://pubnio.com/docs/api/)

Source: https://pubnio.com/docs/problems/invalid-cursor/index.mdx
