Error Codes Reference

Canonical list of CimplifyError.code values returned by @cimplify/sdk.

For integration patterns, see Error Handling and SDK Errors.

Auth

CodeDescriptionRetryable
UNAUTHORIZEDAuthentication missing, invalid, or expired.No
FORBIDDENCaller does not have access to this resource.No
AUTH_INCOMPLETECheckout requires authentication to complete.Yes
AUTH_LOSTSession/auth state was lost during checkout.No

Cart

CodeDescriptionRetryable
CART_EMPTYCheckout attempted with no cart items.No
CART_EXPIREDCart is no longer active.No
CART_NOT_FOUNDCart could not be resolved for this session.No
INVALID_CARTCart cannot be used for checkout in current state.No
ITEM_UNAVAILABLERequested item is unavailable.No
VARIANT_NOT_FOUNDRequested product variant was not found.No
VARIANT_OUT_OF_STOCKVariant exists but has no stock.No
ADDON_REQUIREDA required add-on selection is missing.No
ADDON_MAX_EXCEEDEDToo many add-on selections were provided.No

Checkout

CodeDescriptionRetryable
CHECKOUT_VALIDATION_FAILEDCheckout payload failed validation.No
DELIVERY_ADDRESS_REQUIREDDelivery order requires an address.No
CUSTOMER_INFO_REQUIREDRequired customer fields are missing.No
ORDER_TYPE_REQUIREDCheckout order type is missing.No
ALREADY_PROCESSINGCheckout is already in progress.No
CHECKOUT_NOT_READYCheckout elements are still initializing.Yes
NO_PAYMENT_ELEMENTPayment element is required before checkout.No
PAYMENT_NOT_MOUNTEDPayment element is not mounted in the DOM.No
CANCELLEDCheckout was cancelled by caller or user.Yes
FX_QUOTE_FAILEDFX quote could not be locked for payment.Yes

Payment

CodeDescriptionRetryable
PAYMENT_FAILEDPayment provider reported a failure.Yes
PAYMENT_CANCELLEDPayment flow was cancelled before completion.Yes
INSUFFICIENT_FUNDSPayment method has insufficient funds.No
CARD_DECLINEDCard payment was declined.No
INVALID_OTPAuthorization OTP/PIN value is invalid.Yes
OTP_EXPIREDAuthorization OTP has expired.Yes
AUTHORIZATION_FAILEDAdditional payment authorization failed.Yes
PAYMENT_ACTION_NOT_COMPLETEDRequired provider action was not completed.Yes

Catalogue

CodeDescriptionRetryable
NOT_FOUNDRequested resource was not found.No
OUT_OF_STOCKInventory is depleted for the requested item.No
INSUFFICIENT_QUANTITYRequested quantity exceeds available stock.No
QUOTE_NOT_FOUNDQuote could not be found.No
QUOTE_EXPIREDQuote has expired.No
QUOTE_CONSUMEDQuote has already been used.No
QUOTE_STORAGE_UNAVAILABLEQuote storage is temporarily unavailable.Yes
SERVICE_NOT_FOUNDRequested service no longer exists.No

Scheduling

CodeDescriptionRetryable
SLOT_UNAVAILABLEScheduling slot is unavailable.No
BOOKING_CONFLICTScheduling request conflicts with another booking.No

Business

CodeDescriptionRetryable
BUSINESS_ID_REQUIREDBusiness context could not be resolved from key.No

Network

CodeDescriptionRetryable
NETWORK_ERRORRequest failed due to network connectivity.Yes
TIMEOUTRequest exceeded configured timeout.Yes
REQUEST_TIMEOUTProvider request timed out while resolving payment.Yes
UNKNOWN_ERRORUnexpected error while handling a request.No
VALIDATION_ERROROne or more input fields are invalid.No