# E02072 — InvalidAPIKey

This API key is not valid. It may be malformed, mistyped, deleted, or issued for a different region.

- **HTTP status**: `401`
- **Type**: `auth_error`
- **Name**: `InvalidAPIKey`

## What to do

Check the key was copied whole, including its prefix, and that you are calling the region it was created in. Create a new key if you no longer have the original.

## Related

- [Authentication](/docs/api/authentication): API keys, regions, and header format
- [E02xxx — Auth & identity](/docs/api/errors/E02xxx): every code in this range
- [Errors](/docs/api/errors): the full wire contract, status mapping, and error catalog
- [Error handling](/docs/guides/errors): branching on `type` and `code`, validation details, and `vendor_code`