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

# PAGE_RANGE_INVALID

> Invalid page range (400)

The pages asked for don't exist in the document, or the range can't be read; `errors` names the field.

| Status | Retryable | Title |
| - | - | - |
| `400` | No | Invalid page range |

## Common causes

* A page number is past the document's last page.
* The range is malformed, such as `abc`, `3-1` or `0`.
* The range selects only hidden sheets of a workbook.

## What to do

Ask for pages between 1 and the document's page count, as `1-3,5`.

## Example

```json theme={null}
{
  "type": "https://docs.runpulse.com/errors/page-range-invalid",
  "title": "Invalid page range",
  "status": 400,
  "detail": "config.page_range: page 12 is past the document's last page, 9",
  "instance": "urn:pulse:request:req-6f1c2a9e-3b7d-4c55-9a8e-2d4f0b1c7e93",
  "code": "PAGE_RANGE_INVALID",
  "request_id": "req-6f1c2a9e-3b7d-4c55-9a8e-2d4f0b1c7e93",
  "retryable": false,
  "errors": [
    {
      "field": "config.page_range",
      "pointer": "#/config/page_range",
      "issue": "page 12 is past the document's last page, 9"
    }
  ]
}
```

In API version 1 this was `REQ_006`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.