Zando

All errors

insufficient_scope

Permission missing

Codeinsufficient_scope
HTTP status403
Responsiblecaller: The caller (the agent or the person behind it)
Retryableno (the same request will get the same answer)
Where it appearsAs an HTTP response with this status, before any tool runs.
ChargedNothing. No error uses quota or charges money.

What it means

The sign-in of this assistant does not grant the permission Zando needs.

What an agent should do

  1. Do not retry with the same sign-in.
  2. Tell the user the assistant must be authorized again with the permission Zando asks for.

The error's next_actions come first: they are written for this exact error (a call to send instead, something to tell the user, this page). Tell the user the error's detail: its first sentence is written to be read as is.

What a person should do

Authorize the assistant again and accept the permission Zando asks for.

Example

The error object is the same on every channel; only the order of next_actions follows the channel. Ids, times and values below are examples.

As an HTTP response (application/problem+json)

HTTP 403
Content-Type: application/problem+json
Cache-Control: no-store, no-transform
Zando-Origin: zando
Zando-Contract-Version: 1.6
WWW-Authenticate: Bearer error="insufficient_scope", resource_metadata="https://mcp.zando.ai/.well-known/oauth-protected-resource/mcp", scope="agent", error_description="The sign-in of this assistant does not grant the permission Zando needs; it must be authorized again."

{
  "type": "https://zando.ai/docs/errors/insufficient_scope",
  "code": "insufficient_scope",
  "title": "Permission missing",
  "status": 403,
  "detail": "The sign-in of this assistant does not grant the permission Zando needs; it must be authorized again.",
  "origin": "zando",
  "responsible": "caller",
  "retryable": false,
  "retry_after_s": null,
  "param": null,
  "allowed": null,
  "call_id": null,
  "chain_id": null,
  "charged_micros": 0,
  "currency": "usd",
  "next_actions": [
    {
      "type": "docs",
      "url": "https://zando.ai/docs/errors/insufficient_scope"
    }
  ]
}