anthropic · anthropic/authentication_error
authentication_error
Authentication Error
The API key or authentication token is invalid, missing, or malformed. Check that the x-api-key header (or Authorization: Bearer header for OAuth tokens) is set correctly.
Also defined in
- openai Authentication Error Authentication failed. The API key is missing, malformed, or lacks permission for the requested operation. Ensure the Authorization header is present and correctly formatted.
- stripe Authentication Error Stripe could not authenticate the request because the API key provided was invalid, missing, or revoked. Check that the correct secret key for the target environment (test or live) is being used.