Sonny Labs Docs
Error codes

http.403

Generic 403 emitted when a controller throws `ResponseStatusException(FORBIDDEN)` without a more specific code.

http.403 is returned at HTTP 403.

When this fires

Spring's ResponseStatusException carries a free-form reason but no canonical code. ProblemJsonAdvice synthesises http.<status> so SDK callers always see a stable shape. New controllers should throw typed exceptions with an explicit code instead — this is the fallback.

What to do

Read the detail field for context. If you are seeing this regularly, it likely means a controller is yet to be migrated to a typed code; file an issue with the request id.

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