Error Code List

This is a list of error codes that Online Bespoke API calls may return.

Status CodeExample ErrorResolution
200 OKOrder initiated successfullyNo action needed
400 Bad RequestUnsupported Currency or Invalid parameters, missing fieldsValidate request payload before sending; correct parameter formats
401 UnauthorizedInvalid/expired tokenRefresh/reauthenticate using a valid token or validate credentials
404 Not FoundOrder not foundConfirm the API endpoint, order context token, and ensure the order exists
409 ConflictDuplicate refund requestUse a proper idempotency key; avoid resending the same request as new
412 Precondition FailedProvided token is invalid or expired, rejected, invalid order statusConfirm API URL, or
For refund APIs, check refund amount or order status
500 Internal Server ErrorGeneric server failureRetry using exponential backoff
502/503/504Gateway timeout / service unavailableRetry using exponential backoff

Did this page help you?