code in client code and
keep request_id when contacting support.
401 invalid_api_key when the bearer token is missing,
unknown, revoked, or belongs to another API environment. Do not parse the human
message to distinguish those cases.
Common public API codes
Preferred provider cannot fulfill the order
preferred_provider_incomplete is a structured 422 response from quote
creation. It is not consent to choose a different provider or to split the
order:
unsupported_lines identifies the original zero-based order line and a stable
reason code. available_single_providers lists whole-order alternatives when
available. Submit a new request using single_provider to choose one. Do not
retry with best_available: split fulfillment remains unavailable and returns
split_fulfillment_unavailable.
Managed asset errors
The pending managed-assets diagnostic rollout replaces generic source-fetch
failures with
source_fetch_failed (502). It distinguishes a non-2xx source
response, timeout, unreachable host, and invalid media without exposing the
upstream response body.
Other route-specific codes
Some dashboard, internal, Stripe-webhook, settlement, and template-render routes return more specific codes. The live OpenAPI document is the route-level contract. For an unexpected code, preserve therequest_id and inspect the
route’s documented response before retrying.