Skip to content

environment_mismatch

View as Markdown

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

PropertyValue
HTTP status403
RetryableNo
typehttps://fylane.dev/errors/environment-mismatch

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

Example response
{
  "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.