See Error concepts for how to handle errors idiomatically. This page is the complete code table.
Error envelope
By status code
400 validation_error
401 authentication_error
403 permission_error
404 not_found
409 conflict
429 rate_limit_error
5xx api_error
Account endpoint codes
Create an account and
Retrieve an account return these codes in the top-level
code field of the response body, next to statusCode, message, path, correlationId,
and timestamp.
When filing a support ticket, include the x-request-id header value from the failing response - it uniquely identifies the request across all our logs.