Skip to content

Reference

Error codes

API errors, HTTP statuses and runner exit codes.

On this page

API errors

StatusCodeMeaning
400 / 415invalid_requestThe body doesn’t match the supported schema.
401unauthorizedMissing or expired owner session.
401credential_revokedThe runner credential was revoked.
403forbiddenNot permitted.
404not_foundUnknown, or belongs to another account.
409conflictStale revision, or an immutable ID reused with different content.
409lease_expiredThe runner’s lease expired.
413invalid_requestThe body is too large.
503internal_errorBusy or timed out. Retry with the same ID and body.

Retrying safely

Request IDs are generated by the caller. Retry an uncertain request with the same ID and unchanged body: a matching retry returns the original receipt; different content returns 409. Never generate a fresh ID for a request whose outcome you don’t know.

Runner exit codes

CodeMeaning
0Completed, or no work
1Invalid or failed
3Revoked or unauthorised
4API or provider unavailable
5Lease expired