Skip to main content
A failed request returns a non-2xx status and a JSON body:
If retryable is false, change something before sending the request again: the request, your permissions, or the state of the resource. If it is true, retry with exponential backoff and a deadline. For a write, keep the same Idempotency-Key and body when you retry (see Retrying writes). One endpoint differs. POST /organizations/{orgID}/ssh-keys reports its own errors with error in place of message, for example {"error": "conflict", "code": "invalid_state", "retryable": false}. code and retryable mean the same thing. Its authentication and schema errors use the standard body.

Validation errors

When a parameter fails the request schema before the endpoint runs, both APIs return 422 with code invalid_request. An example is a limit above 200.

Codes

These are the codes the endpoints in this reference return. The OpenAPI documents list more, for endpoints not covered here.