> The index of all pages is at https://docs.afffast.com/llms.txt.

# permission_denied

The API key cannot use this resource.

HTTP status: **403**. Error type: `permission_error`.

The API key cannot use this resource.

## Example

```json
{
  "error": {
    "type": "permission_error",
    "code": "permission_denied",
    "message": "The API key cannot use this resource.",
    "doc_url": "https://docs.afffast.com/errors/permission-denied",
    "request_id": "req_3kQ9x7WmZpL2vNd8TfYb4A"
  }
}
```

## Causes

- The key or the role cannot use this resource. Some operations are only for an owner or an admin.
- The operation has no permission rule.

## How to fix

- Use a key of an owner or an admin, or ask one of them to do it.
