Error codes
onboarding.unsupported_in_self_hosted
Org-creation is disabled in self-hosted deployments — the operator provisions orgs out of band.
onboarding.unsupported_in_self_hosted is returned at HTTP 501.
When this fires
Emitted only when app.deployment-mode=self_hosted. Self-hosted Helm charts run inside a customer VPC where the operator owns org provisioning via Helm values, not via a dashboard click.
What to do
Ask the platform team that owns the deployment to provision the org through the chart's auth.organizations configuration. The SaaS endpoint at https://app.sonnylabs.ai does support self-service org creation.
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.