Errors
Every error code of the open API: what it means and what to do. Each error response links here in its type.
On this page
The problem object
Every error from the open API is an RFC 9457 problem with Content-Type: application/problem+json:
Some problems carry extra fields: path and reason (a blocked file), missing (files still to upload), errors: [{ field, code }] (validation), limit, used and upgradeTo (plan limits), execution (approvals), interval (polling) and periodEnd (paused builds).
Handling errors
- Switch on
code, not ontitle,detailor the HTTP status alone. 429and503are safe to retry: wait forRetry-Afterwhen it's there. RetryPOSTrequests with the sameIdempotency-Key.403 approval_requiredisn't a failure: a teammate has to approve. Continue with the execution instead of starting again.- The CLI keeps the API's
codein its--jsonerrors and maps statuses to exit codes; see CLI.
All error codes
104 codes