Skip to main content

unauthorized

Status
401 Unauthorized
Code
unauthorized
Retry?
No

No API key was sent. The request didn't carry an API key in the form Axis expects.

Common causes​

  • The Authorization header is missing.
  • It isn't in the form Authorization: Bearer axis_live_… (for example, Bearer is missing, or the key is in another header).

What to do​

Send Authorization: Bearer <your key> on every request. See Authentication.

Example​

{
"type": "https://developer.zentarinetworks.com/axis/errors/unauthorized",
"title": "Unauthorized",
"status": 401,
"detail": "Send your API key in the Authorization header: \"Authorization: Bearer axis_live_…\".",
"code": "unauthorized",
"traceId": "0HN7Q2KJ1V3F4:00000002"
}

All error codes