Skip to main content

Error Codes & Event messages

The following page describes the error & event messages that can be sent from the server to the client after each interaction with the basket.

Error codes

CodeDescription
ActivePromoCodeNotFoundThe entered promo code can not be found
PromoCodeDoesntExistPromo code is invalid
OrderPlacementTimeoutTimeout occurred during order placement
StaleBasketThe basket is stale and cannot be used anymore
UnavailableProductThe product you tried to add to your basket has not been processed yet.

Event messages

CodeDescription
BasketUpdatedBasket updated message sent back after each interaction with the basket. It returns a BasketModel object in it's latest state.
SomethingHappenedMessage that is received when an error has occurred. The error codes are described in the error codes table above.