# Location required (/errors/location-required)

**Status:** `422` · **Type:** `https://docs.ajour.dk/errors/location-required`

The key is limited to more than one location. For such a key, a report file must be for exactly one location, so the call must have exactly one `locationId`.

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

Add one `locationId` to the report call, and make one call per location. Call `GET /v1/locations` to see the locations the key can see. A key for all locations does not have this rule.

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