Skip to main content

api_key_invalid

HTTP Status: 401 Category: Authentication

When you see this

API key not recognised, revoked, or past expiry.

How to fix it

Rotate from Settings > API Keys. Deleted keys cannot be recovered; mint a fresh key and update your secrets store.

Example response

{
"error": {
"code": "api_key_invalid",
"message": "API key not recognised, revoked, or past expiry.",
"hint": null,
"doc_url": "https://docs.valara.cloud/api-reference/errors/api_key_invalid",
"request_id": "req_01H...",
"details": {
"errors": [],
"field_count": 0
}
}
}