> For the complete documentation index, see [llms.txt](https://developer.paddle.com/llms.txt).

# Maximum lookback exceeded

The date range you requested goes further back than this metric allows.

---

## Example

```json
{
  "error": {
    "type": "request_error",
    "code": "max_lookback_exceeded",
    "detail": "The requested date range exceeds the maximum lookback of 1096 days for metric 'transactions.completed'.",
    "documentation_url": "https://developer.paddle.com/errors/metrics/max_lookback_exceeded"
  },
  "meta": {
    "request_id": "00000000-0000-0000-0000-000000000000"
  }
}
```

## Details

| Attribute | Value |
| --- | --- |
| Status code | 400 |
| Error code | `max_lookback_exceeded` |
| Error message | The requested date range exceeds the maximum lookback of %d days for metric '%s'. |

## Common causes

- The window between `from` and `to` is larger than the metric's `max_lookback_days`.

## Common solutions

- Shorten the date range so it's within the `max_lookback_days` returned by [list Explore metric entities](https://developer.paddle.com/api-reference/metrics/list-explore-metric-entities) for this metric.
