Skip to content
Bazzario

Errors

One error format, status codes and the most common error codes.

json
{
  "error": {
    "code": "VALIDATION_FAILED",
    "message": "shippingCountry: invalid format",
    "requestId": "7c1e9a52-…"
  }
}

Rely on code; message text may change. Retry 5xx and 429; fix the request first for 4xx.

HTTPMeaning
400Malformed request: key in query string, missing Idempotency-Key
401Missing or invalid key
402Store subscription inactive: writes are blocked, reads work
403Insufficient scope, plan without API, forbidden Origin
404Not found, or belongs to another store
409Conflict: a request with this Idempotency-Key is still running
422Validation or business-rule error
429Rate limit exceeded; see Retry-After
5xxServer error: retry with backoff and report the requestId

Business-rule codes

CodeHTTPWhen
VALIDATION_FAILED422Body or parameters failed validation
PLAN_FEATURE_LOCKED403The store plan has no API access
RATE_LIMITED429Rate limit exceeded
IDEMPOTENCY_KEY_REQUIRED400No Idempotency-Key
IDEMPOTENCY_KEY_REUSED422Same key with a different body
IDEMPOTENCY_IN_PROGRESS409The first request with this key is still running
ORDER_CURRENCY_MISMATCH422Order currency differs from the store currency
EXTERNAL_PAID_AT_REQUIRED422Paid order without paidAt
EXTERNAL_FISCALIZATION_REQUIRED422Paid order without fiscalization
EXTERNAL_PAYMENT_METHOD_UNSETTLEABLE422Card, installments or COD marked paid, which cannot be settled
PAYMENT_METHOD_NOT_AVAILABLE_ABROAD400COD or cash on pickup for a foreign order
SHIPPING_COUNTRY_UNAVAILABLE400Country is not in the international shipping zones
WEBHOOK_URL_INVALID / WEBHOOK_URL_PRIVATE422Webhook URL is not https or not reachable from the internet