renza

Errors

org_required

Returned as permission_error with HTTP 403.

What happened

The request needs an org context and none was resolved. API keys are org-bound, so this usually means a session caller didn't select an org.

How to fix it

Send the `Renza-Org: org_…` header (sessions), or authenticate with an org-scoped API key.

The envelope

{
  "error": {
    "type": "permission_error",
    "code": "org_required",
    "message": "",
    "request_id": "req_8f2c4a1b",
    "doc_url": "https://docs.renza.io/errors/org_required"
  }
}

See Errors for the full contract, and note the CLI maps this to a stable exit code — see Output & exit codes.