Skip to main content
General·HTTP 403·API, CLI, FE

Forbidden

forbidden

You are signed in, but your role or your token's scope does not allow this action here.

What this means​

The action needs a higher role in the account or project than you hold, or the API token was created with a scope that does not cover it.

How to fix it​

Ask an owner or admin of the account to make the change or to raise your role. For a token, create one whose scope covers the account or project you are working in.

Retry behavior​

Sending the same request again gets the same answer until your role or the token changes.

How it appears in the response​

ComputeSphere returns errors as RFC 7807 Problem Details. The type field is the docs URL for this page — switch on code in your client.

{
"type": "https://docs.computesphere.com/errors/forbidden",
"title": "Forbidden",
"status": 403,
"code": "forbidden",
"detail": "You are signed in, but your role or your token's scope does not allow this action here.",
"instance": "/v2/…",
"request_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"trace_id": null
}

The Content-Type header is application/problem+json. On field-level validation errors a non-empty errors[] array also appears, each entry carrying its own docs_url for the offending field.