Sonny Labs Docs
Error codes

auth.scope.missing

Alias of `auth.scope.insufficient` retained for SDK dispatch compatibility.

auth.scope.missing is returned at HTTP 403.

When this fires

Some legacy code paths label scope violations as auth.scope.missing. The TypeScript SDK's fromProblem recognizes both auth.scope.* and the scope.* namespace as scope failures.

What to do

Treat identically to auth.scope.insufficient: re-mint the credential with the required scope, or ask an admin to grant the role that carries it.

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