Skip to content

AUTH_MISSING_TOKEN

The request did not include the bearer token required by an authenticated OmniLux API endpoint.

ContractValue
HTTP status401 Unauthorized
Error codeAUTH_MISSING_TOKEN
Authentication schemeBearer

Response

http
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Bearer realm="omnilux"
X-Request-Id: <request-id>
Content-Type: application/json
json
{
  "error": "Authentication token is missing.",
  "code": "AUTH_MISSING_TOKEN",
  "suggestion": "Include a Bearer token in the Authorization header.",
  "docs": "https://docs.omnilux.tv/errors/AUTH_MISSING_TOKEN",
  "requestId": "<request-id>"
}

requestId matches the X-Request-Id response header. Include it when asking for help so a request can be traced without sharing credentials.

Fix

Create a token through the authentication flow, then send it in the Authorization header:

http
Authorization: Bearer <token>
bash
curl -sS \
  -H "Authorization: Bearer $OMNILUX_TOKEN" \
  "http://your-server:4000/api/library"

Before retrying, confirm that:

  • the header name is Authorization;
  • the value starts with Bearer , including the space;
  • the token is current and has not been copied with surrounding quotes; and
  • HTTPS is used whenever the server is reachable beyond the local network.

Do not put bearer tokens in URLs, screenshots, support messages, or committed configuration.

Last updated: