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

# Invalid pagination

> HTTP 400, code invalid_pagination

<Note>The problem document's `type` field points here: `https://docs.costgraph.ai/pricing/errors/invalid_pagination`</Note>

```json theme={null}
{
  "type": "https://docs.costgraph.ai/pricing/errors/invalid_pagination",
  "title": "Invalid pagination",
  "status": 400,
  "code": "invalid_pagination"
}
```

## When you see it

The `limit` or `cursor` query parameter is not usable.

## What to do

`limit` must be between 1 and 1000, `offset` zero or greater, and `cursor` must be the opaque value returned by the previous page.

```json theme={null}
{
  "type": "https://docs.costgraph.ai/pricing/errors/invalid_pagination",
  "title": "Invalid pagination",
  "status": 400,
  "code": "invalid_pagination",
  "errors": [{ "pointer": "/limit", "detail": "must be between 1 and 1000" }]
}
```
