1. API and embeds

API error codes

Every error is a JSON problem document with a stable code, a human detail, a request_id to quote to support, and a type link to the page for its code below.

CodeHTTPMeaningRetry?
MALFORMED_REQUEST400Malformed requestNo
UNAUTHENTICATED401Authentication requiredNo
INVALID_API_KEY401Invalid API keyNo
EXPIRED_API_KEY401Expired API keyNo
REVOKED_API_KEY401Revoked API keyNo
FORBIDDEN403ForbiddenNo
INSUFFICIENT_SCOPE403Insufficient scopeNo
PLAN_LIMIT_EXCEEDED403Plan limit exceededNo
NOT_FOUND404Not foundNo
IDEMPOTENCY_KEY_REUSED409Idempotency key reusedNo
CONFLICT409ConflictAfter waiting
PAYLOAD_TOO_LARGE413Payload too largeNo
VALIDATION_FAILED422Request validation failedNo
UNSUPPORTED_CONSTRAINT422Unsupported constraintNo
OBJECTIVE_NOT_SUPPORTED_FOR_MODE422Objective not supported for this modeNo
STOCK_TYPE_MISMATCH422Stock type mismatchNo
UNKNOWN_MATERIAL422Unknown materialNo
RATE_LIMITED429Rate limitedAfter waiting
QUOTA_EXCEEDED429Quota exceededNo
INTERNAL_ERROR500Internal errorYes
SERVICE_UNAVAILABLE503Service unavailableAfter waiting