Skip to content

Not allowed

What the forbidden error from the Perafly API means and what to do about it.

On this page
Code
forbidden
HTTP status
403

What it means

The key is valid but not allowed to do this: its creator's role lacks the permission, or its profile (agent or read) excludes it. Some actions, like creating keys, changing access or domains and writing environment variables, need a person's full sign-in.

What to do

Do it from the dashboard or a full sign-in (perafly login --access full), or ask a teammate whose role allows it.

Read more: Agents and MCP

Example response

This is the shape of the answer. title and detail are in English, or in Turkish with Accept-Language: tr; detail appears when there's more to say.

{
  "type": "https://perafly.com/docs/errors/forbidden",
  "title": "Not allowed",
  "status": 403,
  "code": "forbidden",
  "instance": "/v1/…",
  "requestId": "req_…"
}

All error codes