HTTP 403 Forbidden. An API key lacks the scope the operation declares, a browser session writes from another origin, or the workspace rejects the actor.
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/forbidden/",
"status": 403,
"title": "Forbidden",
"code": "forbidden",
"requiredScope": "publish",
"requestId": "0f8e4c2a-6b1d-4e3f-8a9b-7c6d5e4f3a21"
}| Field | Type | Always present |
|---|---|---|
requiredScope |
"read", "publish", "engage", "ads_read", "ads_manage" |
No |
param |
string | No |
nextAction |
string | No |
Recovery for agents
- Retry with an API key whose scopes include
requiredScope, or sign in with OAuth. A browser write must come from the same origin. - Do what
nextActionsays. paramis the field to change.
Retryable
No: the SDKs mark HTTP 403 not retryable.
Limits
- Match on
typeorcode, not ondetail.