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

# invalid_time_range

> Invalid time range (HTTP 422)

| | |
| - | - |
| HTTP status | `422` |
| OpenAI `type` | `invalid_request_error` |
| Anthropic `type` | `invalid_request_error` |
| Retry | No. Error responses carry `x-should-retry: false`. |

## What it means

`end_time` is at or before `start_time`, or the range has more buckets than allowed.

## What to do

Narrow the range or page through it.


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