Zando

All errors

forbidden_origin

Origin not allowed

Codeforbidden_origin
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

Zando refused the request because its web origin or host is not one Zando accepts. This protects accounts from requests sent by unrelated web pages.

What an agent should do

  1. Do not retry from the same origin.
  2. Connect to Zando from an MCP client rather than from a web page.

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

Use one of the clients in the install guides. If you are building a client, do not call Zando from a browser page.

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

{
  "type": "https://zando.ai/docs/errors/forbidden_origin",
  "code": "forbidden_origin",
  "title": "Origin not allowed",
  "status": 403,
  "detail": "Zando refused this request because its web origin or host is not allowed.",
  "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/forbidden_origin"
    }
  ]
}