forbidden
The credential is good, but its user's role cannot do this.
Status
HTTP 403, title Forbidden. One of the credentials errors. Branch on code, never on the status or the prose.
Retryable: no. Every body carries this as retryable: false, beside action and remedy: the same request will fail again until the request changes or a person acts.
Common causes
- A member, rather than an owner or admin, tried to register, rotate, delete or replay a webhook endpoint.
What to do
Action: Ask an organization owner or admin to do this, or to grant the role.
The credential is good, but its user's role cannot do this: only an organization owner or admin manages webhooks. Ask one of them, or use their key; retrying will not help.
Example
The body arrives as application/problem+json, with retryable and the remedy above. Most responses add detail about the occurrence, and some add fields of their own.
{
"type": "https://www.shortsintel.com/docs/reference/errors/forbidden",
"title": "Forbidden",
"status": 403,
"code": "forbidden",
"retryable": false,
"action": "Ask an organization owner or admin to do this, or to grant the role.",
"remedy": "The credential is good, but its user's role cannot do this: only an organization owner or admin manages webhooks. Ask one of them, or use their key; retrying will not help."
}