details is optional and depends on the error.
Public data API errors
Parameter validation
Public Address endpoints validate required and constrained query parameters before running a search. Invalid requests return400 INVALID_PARAMETERS.
For example, calling autocomplete without q returns the standard error
envelope with field-level details:
details uses field names as keys. Each value is an array of validation
messages for that field. The exact message text can change with validation
library updates, so clients should branch on error.code, error.status, and
the presence of a field key rather than matching message strings.
Private or forward-contract errors
These codes can appear on private console/account routes or are reserved for forward-compatible contracts. They are listed here so integrations can classify them if encountered, but they are not all public data API outcomes.Retry guidance
- Retry
RATE_LIMITEDafterRetry-Afterwhen that header is present. - Do not automatically retry
QUOTA_EXCEEDED; direct the user to account billing or support. - Retry
SERVICE_UNAVAILABLEwith exponential backoff and jitter. - Do not retry
MISSING_API_KEY,INVALID_API_KEY,INVALID_PARAMETERS, orPRODUCT_NOT_ALLOWEDwithout changing credentials, parameters, or account access. - Do not retry
NOT_FOUNDfor the same resource id unless upstream data has changed or the id came from stale client state. - Treat
INTERNAL_ERRORas retryable only with bounded retries.
Request-id tracing
Every response includesX-Request-Id. Error responses include the same value
as error.request_id.
When contacting support, include:
- the request id;
- endpoint path and method;
- timestamp;
- account or organization name;
- sanitized client context.