Skip to main content

api_key_missing

HTTP Status: 401 Category: Authentication

When you see this

No X-API-Key header on the request.

How to fix it

Send X-API-Key: sk_live_<token> (or sk_test_<token> for sandbox). Format is documented at https://docs.valara.cloud/api-reference/authentication.

Example response

{
"error": {
"code": "api_key_missing",
"message": "No `X-API-Key` header on the request.",
"hint": null,
"doc_url": "https://docs.valara.cloud/api-reference/errors/api_key_missing",
"request_id": "req_01H...",
"details": {
"errors": [],
"field_count": 0
}
}
}