Skip to main content
Errors use HTTP status codes and a JSON body with a machine-readable code and a human-readable message:
Rely on code, not on message; messages may change. Validation errors add the invalid fields:

Error codes

Unknown error codes may be added. Treat an unknown 4xx code as a permanent error of the request and an unknown 5xx as temporary.