# That role can't do this

The role_not_allowed error: why it happens and how to fix it.

Code: `role_not_allowed`. Status: `403`.

## Why it happens

The person or place making the call isn't allowed to do it.

## How to fix it

Ask an owner or admin. For MCP, call from a program and not from another website.

## What the answer looks like

```json title="Example answer"
{
  "error": {
    "code": "role_not_allowed",
    "message": "A short message about this call.",
    "docs": "https://usetotems.com/docs/errors/role_not_allowed"
  },
  "request_id": "req_..."
}
```

The answer can also have `field` and `help`. See [all error codes](/docs/api/errors).
