error property:
code is the machine-readable value. message is a short description. Some
errors also include details and correlation_id.
Status codes
Use the HTTP status anderror.code together:
Each endpoint reference lists the exact error codes it can return.
Correlation IDs
Every API v1 response includesX-Correlation-ID. Error bodies can also
include the same value as error.correlation_id.
Record the correlation ID with the status code and error.code when you
investigate a failed request. Do not log the Bearer credential or response
fields that may contain personal data.
Retry decisions
- For
429, wait for the number of seconds inRetry-Afterbefore retrying. - For
503, do not treat the response as a quota reset. A limiter outage usesrate_limiter_unavailableand does not includeRetry-After. - For
401or403, correct the credential, scope, or account access instead of retrying the same request. - For
422, correct the request using the endpoint reference.
429 behavior.
