# Date range is too long (/errors/date-range-too-long)

**Status:** `422` · **Type:** `https://docs.ajour.dk/errors/date-range-too-long`

The period from `from` to `to` is too long. Sales key figures and breakdowns allow at most 366 days. Sales lines allow at most 92 days.

## What to do [#what-to-do]

Split the period into shorter parts and make one call per part.

See all [error types](/errors/).