Reference · § 3.2

3.2Error codes

What Relay error codes mean and how to fix each one.

Errors from the platform carry a machine code in the response body and in relay logs. This page lists the common ones.

Deploy errors

CodeMeaningFix
build_failedThe route bundle did not compileRead the build log; it includes the file and line
config_invalidrelay.toml failed validationThe error names the exact key; check Configuration
quota_exceededPlan limit reachedTraffic pauses rather than billing overages; upgrade or wait for reset

Runtime errors

CodeMeaningFix
route_timeoutHandler exceeded 30 sMove slow work to a webhook consumer or background job
route_crashUnhandled exception in a handlerThe log line includes the request id and stack trace
secret_missingHandler read an unset secretrelay secrets set in the affected environment

Auth errors

CodeMeaningFix
token_expiredCLI session endedrelay login again
key_scopeAPI key lacks the needed permissionMint a key with the right scope; deploy-only keys cannot read secrets

Getting help

If a request misbehaves, grab its request id (present on every error page and log line) and mention it when you contact support. The id lets us find the exact trace.