> ## Documentation Index
> Fetch the complete documentation index at: https://docs.costgraph.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Permission denied

> HTTP 403, code permission_denied

> [!NOTE]
>
> The problem document's `type` field points here: `https://docs.costgraph.ai/pricing/errors/permission_denied`

```json theme={null}
{
  "type": "https://docs.costgraph.ai/pricing/errors/permission_denied",
  "title": "Permission denied",
  "status": 403,
  "code": "permission_denied"
}
```

## Common causes

The credential is valid but is not allowed to do this. Creating, changing or deleting prices needs an API key or an app access token with `pricing:write`, or a signed-in admin. Reading prices needs `pricing:read` or `pricing:write`, or a signed-in member. App access tokens are also limited by the role of the person who approved the app.

## What to do

Use an API key or app access token with `pricing:write` to change prices, or `pricing:read` to read them. For an app, sign in again and approve the permission it needs. Only admins can create keys with `pricing:write`, so ask an admin if you need one. A read-only support session can read prices but cannot change them.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.