Skip to content

Unauthorized (authentication-required)

PubNio authentication-required problem, HTTP 401: The request carries no session, bearer token, or API key that resolves to an actor, or the signed-in user's account is missing or deactivated.

HTTP 401 Unauthorized. The request carries no session, bearer token, or API key that resolves to an actor, or the signed-in user’s account is missing or deactivated.

When it happens

Every API operation except GET /api/v1/audit-logs/actions and GET /api/v1/billing/plans declares it.

Response body

{
  "type": "https://pubnio.com/docs/problems/authentication-required/",
  "status": 401,
  "title": "Unauthorized",
  "code": "authentication_required",
  "requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}

Recovery for agents

  • Send Authorization: Bearer <token> with an API key or OAuth access token. Every 401 also carries WWW-Authenticate: Bearer realm="PubNio".

Retryable

No: the SDKs mark HTTP 401 not retryable.

Limits

  • Match on type or code, not on detail.

Type to search…

↑↓ navigate↵ selectEsc close