Skip to content

Error code · HTTP 401

invalid_api_key

Title
Invalid API key
What happened
The Maskflare API key is unknown, revoked or expired.
How to fix it
Check the key under API keys in the console; create a new one if it was revoked or expired. Keys belong to one environment - use that environment's key.
Returned by
Gateway mode, Proxy mode
Retry
Retrying the same request fails the same way.
Example response body
{
  "type": "https://maskflare.com/docs/errors/invalid_api_key",
  "title": "Invalid API key",
  "status": 401,
  "code": "invalid_api_key",
  "detail": "Check the key under API keys in the console; create a new one if it was revoked or expired. Keys belong to one environment - use that environment's key."
}

All error codes