Skip to main content

auth_required

HTTP Status: 401 Category: Authentication

When you see this

Endpoint accepts either an API key or a dashboard session cookie; neither was presented.

How to fix it

Send X-API-Key: sk_live_<token> for programmatic calls, or sign in at https://valara.cloud/login for the dashboard UI path. See https://docs.valara.cloud/api-reference/authentication.

Example response

{
"error": {
"code": "auth_required",
"message": "Endpoint accepts either an API key or a dashboard session cookie; neither was presented.",
"hint": null,
"doc_url": "https://docs.valara.cloud/api-reference/errors/auth_required",
"request_id": "req_01H...",
"details": {
"errors": [],
"field_count": 0
}
}
}