Sonny Labs Docs
Error codes

scan.deep_analysis_unavailable

A synchronous deep-analysis scan (the `deep_sync` tier) could not be completed because the deep-analysis stage was unavailable.

scan.deep_analysis_unavailable is returned at HTTP 503.

When this fires

Returned by POST /v1/scans when the scan requested the deep_sync tier and the deep-analysis stage errored or timed out. Because the synchronous tier only returns once deep analysis has run, the request fails rather than returning a partial verdict.

What to do

Retry with backoff — this is transient. If you need a result without waiting, use the asynchronous tier: deep (which returns immediately and finishes deep analysis in the background) or tier: auto. The TypeScript and Python SDKs surface this as an error rather than failing open, so an explicit deep-analysis request is never silently downgraded to allowed.

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