Skip to main content
Failed requests return a JSON body with an error object and, for most errors, a detail field that repeats what the endpoint raised.

Branch on the typed code

Endpoints that distinguish several failures under one status raise a typed code, such as QUOTA_EXCEEDED. Every error response also carries it in the X-Blindsight-Error-Code header, which is HTTP_<status> when the endpoint has no typed code. Read the header instead of parsing the body.

Status codes

The Runtime Security scan and proxy routes add their own typed codes. See Runtime Security errors.