# invalid_api_key

The API key is not valid. Returned with HTTP 401; retrying will not help.

| Property | Value |
| --- | --- |
| HTTP status | `401` |
| Retryable | No |
| `type` | `https://fylane.dev/errors/invalid-api-key` |

Retrying an identical request will fail identically. Change something first — the `details` object names what.

Example response

```json
{
  "type": "https://fylane.dev/errors/invalid-api-key",
  "code": "invalid_api_key",
  "message": "The API key is not valid.",
  "retryable": false,
  "request_id": "req_01JBQ8Z5T7WXK9MNP2RSTVA3C4",
  "docs_url": "https://fylane.dev/docs/errors/invalid-api-key"
}
```

Quote the `request_id` if you contact support. It is the same value returned in the `X-Request-Id` header and it identifies this exact request in our logs.
