logoAccess

unauthorized

The API key is missing or invalid.

Type: authentication_error
HTTP status: 401 Unauthorized

Cause

The request did not include an x-api-key header, or the provided key does not exist, has been revoked, or has expired.

Response

{
  "error": {
    "type": "authentication_error",
    "code": "unauthorized",
    "message": "Authentication required. Provide a valid API key.",
    "doc_url": "https://docs.tryaccess.xyz/docs/errors/unauthorized"
  }
}

Resolution

  • Ensure the x-api-key header is present on every request.
  • Verify the key is active in your dashboard under Settings → API Keys.
  • If the key has expired, create a new one.

See Authentication for details.

How is this guide?