---
title: "Schedule range too wide (schedule-range-too-wide)"
description: "PubNio schedule-range-too-wide problem, HTTP 422: A schedule list request spans more than maxDays (90) days between from and to."
---

> 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.

# Schedule range too wide (schedule-range-too-wide)

HTTP 422 Schedule range too wide. A schedule list request spans more than `maxDays` (90) days between `from` and `to`.

## 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/schedule-range-too-wide/",
  "status": 422,
  "title": "Schedule range too wide",
  "detail": "Read a schedule range of at most 90 days.",
  "code": "schedule_range_too_wide",
  "maxDays": 90,
  "requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}
```

| Field     | Type    | Always present |
| --------- | ------- | -------------- |
| `maxDays` | integer | Yes            |

## Recovery for agents

- Split the range into windows of at most `maxDays` days.

## Retryable

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

## Limits

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

## Related

- [Scheduling and queues problems](https://pubnio.com/docs/problems/#scheduling-and-queues)
- [API reference](https://pubnio.com/docs/api/)

Source: https://pubnio.com/docs/problems/schedule-range-too-wide/index.mdx
