# environment_mismatch

A test key cannot access live resources, and vice versa. Returned with HTTP 403; retrying will not help.

| Property | Value |
| --- | --- |
| HTTP status | `403` |
| Retryable | No |
| `type` | `https://fylane.dev/errors/environment-mismatch` |

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

Example response

```json
{
  "type": "https://fylane.dev/errors/environment-mismatch",
  "code": "environment_mismatch",
  "message": "A test key cannot access live resources, and vice versa.",
  "retryable": false,
  "request_id": "req_01JBQ8Z5T7WXK9MNP2RSTVA3C4",
  "docs_url": "https://fylane.dev/docs/errors/environment-mismatch"
}
```

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.
