Error codes
All errors are RFC 9457 problem details (application/problem+json) with a stable code. Extra fields named in the table are returned at the top level of the problem object.
{ "type": "https://agents.snappy.com/docs/errors#address_unverified", "title": "We could not verify this address: …", "status": 422, "code": "address_unverified", "suggestions": [ … ] }
| Code | HTTP | Meaning | What the agent should do |
|---|---|---|---|
validation_error | 400 | Request body or query failed validation | Fix the request; details in `issues` |
unauthorized | 401 | Missing, expired or revoked access token | Refresh the token or re-run the OAuth flow |
insufficient_scope | 403 | Token lacks the scope for this operation | Ask the user to re-authorize with the listed scope (they may have chosen read-only) |
user_suspended | 403 | The account is suspended | Tell the user to contact Snappy support |
catalog_not_found | 404 | Product, variant or collection does not exist | Search again; ids may have been recalled |
quote_not_found | 404 | Unknown quote id or not owned by this user | Create a new quote |
checkout_not_found | 404 | Unknown checkout id or not owned by this user | List checkouts |
order_not_found | 404 | Unknown order id or not owned by this user | List orders |
negotiation_not_found | 404 | Unknown negotiation id or not owned by this user | List negotiations or negotiate again |
negotiation_disabled | 409 | Price negotiation is switched off by Snappy operators | Tell the user the catalog price applies |
negotiation_not_open | 409 | The offer is expired, superseded or rejected (`status` says which) | Negotiate again for a fresh offer |
negotiation_already_applied | 409 | The offer was already turned into a quote (`quoteId`) | Use that quote in createCheckout |
negotiation_variant_mismatch | 400 | The negotiation is for a different item than the quote or round refers to | Use the negotiation's own variantId |
negotiation_country_mismatch | 400 | The offer was priced for another ship-to country | Negotiate again with the right countryCode |
negotiation_unavailable | 400 | Negotiated pricing is not enabled on this server | Create a plain quote |
quote_expired | 409 | Quotes are valid for 15 minutes | Create a new quote and show the user the (possibly changed) price |
checkout_not_cancellable | 409 | Only unpaid checkouts can be cancelled | If paid, cancel the order instead |
order_not_cancellable | 409 | Fulfilment already started | Offer the support link from the error |
country_not_supported | 422 | The platform does not ship to that country | Offer the countries in `allowedCountries` |
variant_unavailable_in_country | 422 | Snappy cannot ship this variant there right now | Offer `availableCountries` or another variant |
address_incomplete | 422 | Physical items need address1, city, postalCode | Collect the `missing` fields |
address_unverified | 422 | Snappy could not verify the address | Show `suggestions` from autocomplete and confirm with the user |
address_country_mismatch | 422 | Address country differs from the quoted country | Create a quote for the address country |
phone_invalid | 422 | Phone must be E.164 | Ask for the number with country code |
cart_empty | 400 | No items in the checkout | Create quotes first |
quantity_invalid | 400 | quantity must be 1-10 per line | Split large quantities |
cart_too_large | 422 | More than 20 items in one checkout | Split into two checkouts |
cart_country_mismatch | 422 | Quotes priced for different countries | Re-quote all items for the shipping country |
sms_consent_required | 422 | SMS needs explicit consent | Show `consentText`, get a yes, resend with smsConsent=true |
callback_url_invalid | 422 | callbackUrl is not a public https endpoint | Use an https URL on a public hostname, or omit callbackUrl and poll or stream instead |
sms_opted_out | 422 | The number replied STOP | Offer email, or ask the user to text START |
use_cancel_endpoint | 409 | Order is still cancellable | Call cancelOrder instead of a support request |
order_already_refunded | 409 | Nothing left to refund | Explain the refund already happened |
snappy_not_configured | 503 | Operators have not entered the Snappy key yet | Tell the user the store is not open yet |
payments_not_configured | 503 | Operators have not entered Stripe keys yet | Browsing works; purchases are not available yet |
order_total_too_high | 422 | Above the platform cap | Point the user to Snappy support |
otp_rate_limited | 429 | Too many sign-in codes requested | Wait before requesting another code |
rate_limited | 429 | Too many requests from this address or credential for this endpoint | Wait `retryAfterSeconds` (also the `Retry-After` header) and retry; do not retry in a tight loop |
catalog_busy | 503 | Snappy rate limit hit | Retry after `Retry-After` seconds |
maintenance | 503 | Checkout is paused by Snappy operations | Show the message and retry later; browsing still works |
catalog_upstream_error | 502 | Snappy API returned an error | Retry once; then apologise and offer to try later |
protocol_disabled | 503 | ACP or UCP is switched off by Snappy operators | Fall back to the agent connector (/v1 or /mcp) or retry later |
platform_protocol_mismatch | 403 | The platform credential is registered for the other protocol | Use the credential issued for this protocol |
missing_api_version | 400 | ACP: the API-Version header is missing | Send API-Version with one of `supported_versions` |
unsupported_api_version | 400 | ACP: that API-Version is not served | Use one of `supported_versions` |
idempotency_key_required | 400 | Writes need an Idempotency-Key header | Send a UUID v4 Idempotency-Key and reuse it on retries |
idempotency_conflict | 422 | The Idempotency-Key was already used with a different body (409 under UCP) | Use a new key for a new request |
idempotency_in_flight | 409 | The first request with this key is still running | Retry after `Retry-After` seconds |
checkout_session_not_found | 404 | Unknown checkout session, or it belongs to another platform | Create a new checkout session |
checkout_session_not_open | 409 | The session is completed, canceled or expired | Create a new checkout session |
checkout_session_in_progress | 409 | A complete call is running for this session | Poll the session until it is completed |
checkout_session_not_cancelable | 405 | Completed or canceled sessions cannot be canceled | Cancel the order instead (support) |
currency_not_supported | 422 | The catalog is priced in another currency | Create the session in `currency` |
missing_ucp_agent | 400 | UCP: the UCP-Agent header is missing | Send UCP-Agent: profile="https://…" |
signature_invalid | 401 | UCP: the request signature did not verify against the platform profile keys | Check keyid, covered components and Content-Digest |
identity_required | 401 | UCP: an order read needs a platform token or a linked user's token | Authenticate, or link the user with OAuth (identity linking) |
feeds_not_configured | 503 | No feed token is configured | Operators set one in Integrations → Product feeds |
feed_token_invalid | 401 | Wrong or missing feed token | Configure the feed URL with the token from Snappy operators |
signing_key_missing | 503 | No business signing key exists | Operators generate one in the admin portal (Protocols) |
OAuth errors
The token and registration endpoints use RFC 6749 bodies: { "error": "invalid_grant", "error_description": "…" }.
Snappy Agents · agents.snappy.com · support@snappy.com