Sonny Labs Docs
Error codes

auth.no_org_context

The request authenticated but no `org_id` was bound to the session — typically a misconfigured caller.

auth.no_org_context is returned at HTTP 400.

When this fires

Returned when an org-scoped endpoint is called without an organisation bound to the request. Usually means the caller is using a key from a deleted org, or is hitting an endpoint that requires an org context with a credential that does not carry one.

What to do

Re-mint the API key against an existing organization. If you are calling from the dashboard and seeing this, sign out and sign back in to refresh the session's org binding.

See also

  • SDK reference — the Python and TypeScript SDKs raise typed exceptions for codes in this namespace.
  • Error code index — every code the runtime can return.

On this page