API_KEY_INVALID
The API key is unknown, revoked, or from another environment.
| HTTP status | 401 |
| Group | Platform |
| Retryable | No — sending it again changes nothing |
What happened
Keys are environment-bound: a test key never works on mainnet and the reverse.
What to do
Use a key issued for this host, or create a new one in the dashboard.
The problem document
Every error is application/problem+json (RFC 9457) with the same shape:
{
"type": "https://docs.co-relayer.com/errors/api-key-invalid",
"title": "The API key is unknown, revoked, or from another environment.",
"status": 401,
"detail": "A sentence about this specific occurrence.",
"instance": "req_01JB…",
"code": "API_KEY_INVALID",
"retryable": false,
"hint": "Use a key issued for this host, or create a new one in the dashboard."
}
See the error model for what each member means and how to handle unknown codes.