Error codes
service.not-ready
The backend received a request before its readiness probe transitioned to ready.
service.not-ready is returned at HTTP 503.
When this fires
Returned during boot when the service process is up but its dependencies (database, migrations, detection models) are still loading. The load balancer should not forward traffic in this window; this code is the safety net when it does.
What to do
Retry — the readiness probe converges within seconds of process start. If the condition persists for more than a minute on a self-hosted deployment, treat the rollout as failed and roll back. On SaaS, check the Sonny Labs status page.
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.