Error codes

Every error response carries a machine-readable code. Branch on it: the wording of title may change, the code does not.

HTTP 400 The request could not be read.

HTTP 401 Authentication problem.

HTTP 402 Payment problem on the account.

HTTP 403 Permission problem.

HTTP 404 Nothing here by that identifier.

HTTP 405 Wrong method for this path.

HTTP 409 The request is valid, the current state is not.

HTTP 413 The request body is too large.

HTTP 415 Wrong content type.

HTTP 422 The request did not pass validation.

HTTP 429 Too many requests.

HTTP 500 Something failed unexpectedly on our side.

HTTP 503 The request is valid, we could not complete it.