↑↓select↵openescclose

Help

Errors

Error body, error codes and what to do about each.

JSON
{ "error": { "code": "INVALID_AMOUNTS", "message": "itemsSubtotal must be 2700", "path": "amounts.itemsSubtotal",
             "requestId": "6b1f…" } }
  • path is present for field errors, in dot notation with array indexes as numbers (items.0.unitPrice).
  • details is present for some errors.
  • Quote requestId when you contact support. If you send an x-request-id header, we use yours.
HTTPcodeMeaningWhat to do
400MALFORMED_REQUESTThe body is not valid JSON.Fix the request.
401UNAUTHORIZEDKey missing, wrong, expired or revoked.Check the key; ask the restaurant for a new one.
403CONNECTION_REVOKEDThe restaurant deleted the connection.Stop sending.
404ORDER_NOT_FOUNDUnknown order, or another connection's.–
409STORE_OFFLINEThe restaurant is not taking orders through this connection.Send again once it is online.
409WEBHOOK_NOT_CONFIGUREDNo webhook URL is set.PUT /webhook first.
409ORDER_CONFLICTThe externalId exists with a different payload.Use a new externalId.
409INVALID_TRANSITIONCancel of a completed or rejected order; courier update for an order the restaurant delivers.–
409REQUEST_IN_PROGRESSThe same order is still being received, or secret rotations collide.Retry after Retry-After.
422INVALID_FIELDSchema violation (see path), invalid webhook URL, invalid payment combination.Fix the request.
422INVALID_AMOUNTSSums or amountPaid do not add up.Fix the sums.
422CURRENCY_MISMATCHNot the restaurant's currency.Use the menu file's currency.
429RATE_LIMITEDToo many requests.Retry after Retry-After.
500INTERNAL_ERROROur failure.Retry with the same body.
503SERVICE_UNAVAILABLEA service we depend on is not reachable.Retry later.