Skip to main content

unauthenticated

Authentication is required

Status: 401 Unauthorized

type: https://api.allisai.ai/errors/unauthenticated

When it is sent​

No credential; a malformed, unknown or revoked key; an invalid or expired session; a session on POST /v1/events. Send Authorization: Bearer with a valid API key, or with a current session token where the operation takes one. POST /v1/events takes an API key only.

Example​

{
"type": "https://api.allisai.ai/errors/unauthenticated",
"title": "Authentication is required",
"status": 401,
"detail": "A human-readable explanation of this occurrence. Its wording varies; branch on code, never on detail.",
"code": "unauthenticated",
"request_id": "3a9f6c1e2b7d4e5f8a0b1c2d3e4f5a6b"
}

Operations that return it​