Skip to main content
All Out Partner Docs Guides

Errors and retries

Every answer has the same envelope. A refusal adds error.code and a requestId to quote to All Out. Branch on the HTTP status and error.code, never on the message text.

Only 503 and a timeout are worth retrying unchanged, with the same Idempotency-Key. Every other code needs something to change first.

HTTPerror.codeDo
400INVALID_REQUESTFix the request.
401UNAUTHORIZEDGet a new token.
403PARTNER_DISABLEDYour account is suspended. Contact All Out.
404NOT_FOUNDCheck the id and the route.
409REFERENCE_CONFLICT, PAYMENT_REFERENCE_CONFLICT, IDEMPOTENCY_CONFLICTUse a new reference or key, or check your references.
409AVAILABILITY_NOT_CONFIRMED, AVAILABILITY_EXPIREDDo not hold. Release a hold already placed, then make a new request.
409INVALID_PAYMENT_TRANSITION, CANCELLATION_NOT_ALLOWEDRead the booking and check its state.
413INVALID_REQUESTSend a smaller body or picture.
422PAYMENT_AMOUNT_MISMATCHRelease. Never hold a different amount.
422UNPRICEABLEContact All Out.
429RATE_LIMITEDWait the seconds in Retry-After.
503UNAVAILABLERetry with the same key, or read the booking.