# `forbidden`

> For the complete documentation index, see [llms.txt](https://www.shortsintel.com/llms.txt). Every docs page is also available as markdown: add .md to its URL. To connect, read [agents.md](https://www.shortsintel.com/agents.md).

The credential is good, but its user's role cannot do this.

## Status

HTTP `403`, title `Forbidden`. One of the [credentials](https://www.shortsintel.com/docs/reference/errors#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.

```json
{
  "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."
}
```

## Related

- [Webhooks](https://www.shortsintel.com/docs/concepts/webhooks)
- [Authentication and limits](https://www.shortsintel.com/docs/concepts/authentication-and-limits)
- [Every error code](https://www.shortsintel.com/docs/reference/errors)

[Previous connection_revoked](https://www.shortsintel.com/docs/reference/errors/connection_revoked)[Next key_scope_insufficient](https://www.shortsintel.com/docs/reference/errors/key_scope_insufficient)
