Cart-Checkout Error Codes r7.5


Error Codes

public static final int RESP_SUCCESS = 77000;
public static final int RESP_ITEMERRORS = 77001;
public static final int RESP_CARTISEMPTY = 77002;
public static final int RESP_NOSKUINCART = 7703;
public static final int RESP_ITEMNAMEREQUIRED = 77010;
public static final int RESP_ITEMTYPEREQUIRED = 77011;
public static final int RESP_SKUIDREQUIRED = 77012;
public static final int RESP_QUANTITYNOTPROVIDED = 77013;
public static final int RESP_INVALIDSHIPPINGADDRESS = 77014;
public static final int RESP_OFFERIDREQUIRED = 77015;
public static final int RESP_PROMOCODEREQUIRED = 77016;
public static final int RESP_LOYALTYPOINTSZERO = 77017;
public static final int RESP_CARDNUMCARDPINREQUIRED = 77018;
public static final int RESP_STORECREDITSZERO = 77019;
public static final int RESP_UNKNOWNITEMTYPE = 77020;
public static final int RESP_INVENTORYSERVICEUNAVAILABLE = 77021;
public static final int RESP_REQINVENTORYUNAVAILABLE = 77022;
public static final int RESP_UNABLETOADD = 77023;
public static final int RESP_CARTITEMADDERROR = 77024;
public static final int RESP_UNABLETOUPDATE = 77025;
public static final int RESP_CARTITEMUPDATEERROR = 77026;
public static final int RESP_CARTITEMDELETEERROR = 77027;
public static final int RESP_ADDRESSUPDATEFAILED = 77028;
public static final int RESP_NOITEMSININPUT = 77029;
public static final int RESP_MAXBAGCOUNTEXCEEDED = 77030;
public static final int RESP_UNABLETOCHECKINVENTORY = 77031;
public static final int RESP_DUPLICATEOFFERID = 77032;
public static final int RESP_DUPLICATEPROMOCODE = 77033;
public static final int RESP_DUPLICATEGIFTCARD = 77034;
public static final int RESP_INVALIDCAMPAIGN = 77035;
public static final int RESP_INVALIDPARTNER = 77036;
public static final int RESP_USERNOTAUTHORIZED = 77037;
public static final int RESP_CARTDELETIONERROR = 77038;
public static final int RESP_CARTCREATIONERROR = 77039;
public static final int RESP_CARTITEMIDREQUIRED = 77040;
public static final int RESP_CARTITEMIDNOTINCART = 77041;
public static final int RESP_ITEMNOTGIFTABLE = 77042;
public static final int RESP_GETPRODUCTFAILED = 77043;
public static final int RESP_CALLNOTSECURE = 77044;
public static final int RESP_GETCARTFAILED = 77045;
public static final int RESP_GETCARTITEMFAILED = 77046;
public static final int RESP_UNABLETOSAVECARTINCACHE = 77047;
public static final int RESP_PRODUCTIDREQUIRED = 77048;
public static final int RESP_ADDTOBAGFAILED = 77049;
public static final int RESP_SHIPPINGMETHOD = 77050;
public static final int RESP_SHIPPINGCOST = 77051;
public static final int RESP_CARTRECALCULATIONREQUIRED = 77052;
public static final int RESP_TAXCALCULATION = 77053;
public static final int RESP_PAYMENTNOTEQUALTOTALCOST = 77054;
public static final int RESP_INVALIDGIFTCARD = 77055;
public static final int RESP_INVALIDCREDITORDEBITCARD = 77056;
public static final int RESP_INVALIDBILLINGADDRESS = 77057;
public static final int RESP_INVALIDSHIPPINGOPTION = 77058;
public static final int RESP_UNABLETOSELECTSHIPPINGOPTION = 77059;
public static final int RESP_CARTINVALID = 77060;
public static final int RESP_LESSLOYALTYPOINTS = 77061;
public static final int RESP_LESSSTORECREDITS = 77062;
public static final int RESP_NODEFAULTWAREHOUSEADDRESSFOUND = 77063;
public static final int RESP_NODEFAULTSHIPPINGADDRESSFOUND = 77064;
public static final int RESP_MEMCACHEMANAGERUNAVAILABLE = 77065;
public static final int RESP_DBSESSIONMANAGERUNAVAILABLE = 77066;
public static final int RESP_HTTPCLIENTSERVICEUNAVAILABLE = 77067;
public static final int RESP_EMAILSERVICEUNAVAILABLE = 77068;
public static final int RESP_STREAMUSERSERVICEV2UNAVAILABLE = 77069;
public static final int RESP_STREAMLOYALTYSERVICEUNAVAILABLE = 77070;
public static final int RESP_STREAMLISTSERVICEUNAVAILABLE = 77071;
public static final int RESP_SKAVAMESSAGINGSERVICEUNAVAILABLE = 77072;
public static final int RESP_STREAMINVENTORYSERVICEUNAVAILABLE = 77073;
public static final int RESP_SKAVAPIMSERVICEUNAVAILABLE = 77074;
public static final int RESP_BPMSERVICEUNAVAILABLE = 77075;
public static final int RESP_STREAMADDRESSVALIDATIONSERVICEUNAVAILABLE = 77076;
public static final int RESP_STREAMSHIPPINGSERVICEUNAVAILABLE = 77077;
public static final int RESP_STREAMTAXSERVICEUNAVAILABLE = 77078;
public static final int RESP_RESOURCEBUNDLEUNAVAILABLE = 77079;
public static final int RESP_TAXSERVICEUNAVAILABLE = 77080;
public static final int RESP_UNITPRICEREQUIRED = 77081;
public static final int RESP_GIFTSERVICEUNAVAILABLE = 77082;
public static final int RESP_HTTPSERVLETREQUESTEMPTY = 77083;
public static final int RESP_INVALIDLOCALE = 77084;
public static final int RESP_INVALIDVERSION = 77085;
public static final int RESP_STREAMPROMOTIONSERVICE = 77086;
public static final int RESP_STREAMGIFTSERVICEUNAVAILABLE = 77087;
public static final int RESP_UNABLETOGIFTWRAP = 77088;
public static final int RESP_UNABLETOSHIP = 77089;
public static final int RESP_FIRSTNAMEINVALID = 77090;
public static final int RESP_LASTNAMEINVALID = 77091;
public static final int RESP_STREETONEINVALID = 77092;
public static final int RESP_CITYINVALID = 77093;
public static final int RESP_STATEINVALID = 77094;
public static final int RESP_COUNTRYINVALID = 77095;
public static final int RESP_ZIPINVALID = 77096;
public static final int RESP_CARDNUMBERINVALID = 77097;
public static final int RESP_CARDTYPEINVALID = 77098;
public static final int RESP_CARDBRANDINVALID = 77099;
public static final int RESP_CARDEXPMONTHINVALID = 77100;
public static final int RESP_CARDEXPYEARINVALID = 77101;
public static final int RESP_CARDCVVNUMBERINVALID = 77102;
public static final int RESP_CARDPINNUMBERINVALID = 77103;
public static final int RESP_APPLYOFFERFAILED = 77104;
public static final int RESP_CARTUPDATEERROR = 77015;
public static final int RESP_INVALIDPRODUCT = 77016;
public static final int RESP_QUANTITYBELOWMINIMUM = 77017;
public static final int RESP_QUANTITYABOVEMAXIMUM = 77018;
public static final int RESP_INVALIDPROMOCODES = 77019;
public static final int RESP_SERVERERROR = 77999;
public static final int RESP_INVALIDCART = 78001;

Error Codes Mapping

i18n.put(RESP_SUCCESS, "success.respsuccess");
i18n.put(RESP_ITEMERRORS, "success.itemhaserrors");
i18n.put(RESP_CARTISEMPTY, "success.cartisempty");
i18n.put(RESP_NOSKUINCART, "success.noskuincart");
i18n.put(RESP_ITEMNAMEREQUIRED, "error.itemnamerequired");
i18n.put(RESP_ITEMTYPEREQUIRED, "error.itemtyperequired");
i18n.put(RESP_SKUIDREQUIRED, "error.skuidrequired");
i18n.put(RESP_QUANTITYNOTPROVIDED, "error.quantityrequired");
i18n.put(RESP_INVALIDSHIPPINGADDRESS, "error.invalidshippingaddress");
i18n.put(RESP_OFFERIDREQUIRED, "error.offeridrequired");
i18n.put(RESP_PROMOCODEREQUIRED, "error.promocoderequired");
i18n.put(RESP_LOYALTYPOINTSZERO, "error.loyaltypointsrequired");
i18n.put(RESP_CARDNUMCARDPINREQUIRED, "error.cardnumbercartpinrequired");
i18n.put(RESP_STORECREDITSZERO, "error.storecreditrequired");
i18n.put(RESP_UNKNOWNITEMTYPE, "error.undefineditemtype");
i18n.put(RESP_INVENTORYSERVICEUNAVAILABLE, "error.inventoryserviceunavailable");
i18n.put(RESP_REQINVENTORYUNAVAILABLE, "error.requestedinventoryunavailable");
i18n.put(RESP_UNABLETOADD, "error.unabletoaddtocart");
i18n.put(RESP_CARTITEMADDERROR, "error.listadditemsserviceunavailable");
i18n.put(RESP_UNABLETOUPDATE, "error.unabletoupdateincart");
i18n.put(RESP_CARTITEMUPDATEERROR, "error.listupdateitemsserviceunavailable");
i18n.put(RESP_CARTITEMDELETEERROR, "error.listdeleteitemsserviceunavailable");
i18n.put(RESP_ADDRESSUPDATEFAILED, "error.addressupdatetoprofilefailed");
i18n.put(RESP_NOITEMSININPUT, "error.maxbagcountexceeded");
i18n.put(RESP_UNABLETOCHECKINVENTORY, "error.unabletocheckinventory");
i18n.put(RESP_DUPLICATEOFFERID, "error.duplicateofferid");
i18n.put(RESP_DUPLICATEPROMOCODE, "error.duplicatepromocode");
i18n.put(RESP_DUPLICATEGIFTCARD, "error.duplicategiftcard");
i18n.put(RESP_INVALIDCAMPAIGN, "error.invalidcampaign");
i18n.put(RESP_INVALIDPARTNER, "error.invalidpartner");
i18n.put(RESP_USERNOTAUTHORIZED, "error.usernotauthorized");
i18n.put(RESP_CARTDELETIONERROR, "error.cartdeletionerror");
i18n.put(RESP_CARTCREATIONERROR, "error.cartcreationerror");
i18n.put(RESP_CARTITEMIDREQUIRED, "error.cartitemidrequired");
i18n.put(RESP_CARTITEMIDNOTINCART, "error.cartitemidnotincart");
i18n.put(RESP_ITEMNOTGIFTABLE, "error.itemisnotgiftable");
i18n.put(RESP_GETPRODUCTFAILED, "error.getproductfailed");
i18n.put(RESP_CALLNOTSECURE, "error.callnotsecure");
i18n.put(RESP_GETCARTFAILED, "error.getcartfailed");
i18n.put(RESP_GETCARTITEMFAILED, "error.getcartitemfailed");
i18n.put(RESP_UNABLETOSAVECARTINCACHE, "error.unabletosavecartincache");
i18n.put(RESP_PRODUCTIDREQUIRED, "error.productidrequired");
i18n.put(RESP_ADDTOBAGFAILED, "error.addtobagfailed");
i18n.put(RESP_SHIPPINGMETHOD, "error.getShippingMethodCall");
i18n.put(RESP_SHIPPINGCOST, "error.getShippingRateCall");
i18n.put(RESP_CARTRECALCULATIONREQUIRED, "error.cartrecalculationrequired");
i18n.put(RESP_TAXCALCULATION, "error.taxcalculation");
i18n.put(RESP_PAYMENTNOTEQUALTOTALCOST, "error.paymentnotEqualTotalcost");
i18n.put(RESP_INVALIDGIFTCARD, "error.invalidgiftcard");
i18n.put(RESP_INVALIDCREDITORDEBITCARD, "error.creditordebitcarddetailsrequired");
i18n.put(RESP_INVALIDBILLINGADDRESS, "error.invalidbillingaddress");
i18n.put(RESP_INVALIDSHIPPINGOPTION, "error.invalidshippingoption");
i18n.put(RESP_UNABLETOSELECTSHIPPINGOPTION, "error.unabletoselectshippingoption");
i18n.put(RESP_NODEFAULTWAREHOUSEADDRESSFOUND, "error.nodefaultwarehouseaddressfound");
i18n.put(RESP_NODEFAULTSHIPPINGADDRESSFOUND, "error.nodefaultshippingaddressfound");
i18n.put(RESP_MEMCACHEMANAGERUNAVAILABLE, "error.memcacheManagerUnavailable");
i18n.put(RESP_DBSESSIONMANAGERUNAVAILABLE, "error.dbSessionManagerUnavailable");
i18n.put(RESP_HTTPCLIENTSERVICEUNAVAILABLE, "error.httpClientServiceUnavailable");
i18n.put(RESP_EMAILSERVICEUNAVAILABLE, "error.emailServiceUnavailable");
i18n.put(RESP_STREAMUSERSERVICEV2UNAVAILABLE, "error.streamUserServiceV2Unavailable");
i18n.put(RESP_STREAMLOYALTYSERVICEUNAVAILABLE, "error.streamLoyaltyServiceUnavailable");
i18n.put(RESP_STREAMLISTSERVICEUNAVAILABLE, "error.streamListServiceUnavailable");
i18n.put(RESP_SKAVAMESSAGINGSERVICEUNAVAILABLE, "error.streamMessagingServiceUnavailable");
i18n.put(RESP_STREAMINVENTORYSERVICEUNAVAILABLE, "error.streamInventoryServiceUnavailable");
i18n.put(RESP_SKAVAPIMSERVICEUNAVAILABLE, "error.streamPimServiceUnavailable");
i18n.put(RESP_BPMSERVICEUNAVAILABLE, "error.bpmServiceUnavailable");
i18n.put(RESP_STREAMADDRESSVALIDATIONSERVICEUNAVAILABLE, "error.streamAddressValidationServiceUnavailable");
i18n.put(RESP_STREAMSHIPPINGSERVICEUNAVAILABLE, "error.streamShippingServiceUnavailable");
i18n.put(RESP_STREAMTAXSERVICEUNAVAILABLE, "error.streamTaxServiceUnavailable");
i18n.put(RESP_RESOURCEBUNDLEUNAVAILABLE, "error.resourceBundleUnavailable");
i18n.put(RESP_MAXBAGCOUNTEXCEEDED, "error.maxBagCountExceeded");
i18n.put(RESP_CARTINVALID, "error.cartInvalid");
i18n.put(RESP_LESSLOYALTYPOINTS, "error.lessLoyaltyPoints");
i18n.put(RESP_LESSSTORECREDITS, "error.lessStoreCredits");
i18n.put(RESP_TAXSERVICEUNAVAILABLE, "error.taxServiceUnavailable");
i18n.put(RESP_UNITPRICEREQUIRED, "error.unitPriceRequired");
i18n.put(RESP_GIFTSERVICEUNAVAILABLE, "error.giftserviceunavailable");
i18n.put(RESP_HTTPSERVLETREQUESTEMPTY, "error.httprequestempty");
i18n.put(RESP_INVALIDLOCALE, "error.invalidlocale");
i18n.put(RESP_INVALIDVERSION, "error.invalidversion");
i18n.put(RESP_STREAMPROMOTIONSERVICE, "error.streampromotionserviceunavailable");
i18n.put(RESP_UNABLETOGIFTWRAP, "error.unabletogiftwrap");
i18n.put(RESP_STREAMGIFTSERVICEUNAVAILABLE, "error.streamgiftserviceunavailable");
i18n.put(RESP_UNABLETOSHIP, "error.unabletoship");
i18n.put(RESP_FIRSTNAMEINVALID, "error.firstnameinvalid");
i18n.put(RESP_LASTNAMEINVALID, "error.lastnameinvalid");
i18n.put(RESP_STREETONEINVALID, "error.streetoneinvalid");
i18n.put(RESP_CITYINVALID, "error.cityinvalid");
i18n.put(RESP_STATEINVALID, "error.stateinvalid");
i18n.put(RESP_COUNTRYINVALID, "error.countryinvalid");
i18n.put(RESP_ZIPINVALID, "error.zipinvalid");
i18n.put(RESP_CARDNUMBERINVALID, "error.cardnumberinvalid");
i18n.put(RESP_CARDTYPEINVALID, "error.cardtypeinvalid");
i18n.put(RESP_CARDBRANDINVALID, "error.cardbrandinvalid");
i18n.put(RESP_CARDEXPMONTHINVALID, "error.cardexpmonthinvalid");
i18n.put(RESP_CARDEXPYEARINVALID, "error.cardexpyearinvalid");
i18n.put(RESP_CARDCVVNUMBERINVALID, "error.cardcvvnumberinvalid");
i18n.put(RESP_CARDPINNUMBERINVALID, "error.cardpinnumberinvalid");
i18n.put(RESP_APPLYOFFERFAILED, "error.applyofferfailed");
i18n.put(RESP_CARTUPDATEERROR, "error.cartupdateerror");
i18n.put(RESP_INVALIDPRODUCT, "error.invalidproduct");
i18n.put(RESP_QUANTITYBELOWMINIMUM,"error.quantityBelowMinimum");
i18n.put(RESP_QUANTITYABOVEMAXIMUM,"error.quantityAboveMaximum");
i18n.put(RESP_INVALIDPROMOCODES, "error.invalidpromocodes");
i18n.put(RESP_SERVERERROR, "severe.unknownerror");
i18n.put(RESP_INVALIDCART, "error.cartinvalid");

Error Messages

success.respsuccess=Success
success.itemhaserrors=Success - Few or All items has error
success.cartisempty=Success - Cart is empty
success.noskuincart=Success - No valid SKU in cart to process
error.itemnamerequired=Failure - Item Name is a required Field
error.itemtyperequired=Failure - Item Type is required Field and it should be from sku, offer, promoCode, loyalty, giftCard, storeCredit
error.skuidrequired=Failure - Sku Id required for items of type sku
error.quantityrequired=Failure - quantity required for items of type sku
error.invalidshippingaddress=Failure - Shipping Address Invalid
error.offeridrequired=Failure - Offer Id required for items of type offer
error.promocoderequired=Failure - Promo Code required for items of type promoCode
error.loyaltypointsrequired=Failure - Points required for items of type loyalty
error.cardnumbercartpinrequired=Failure - GiftCardNumber and GiftCartPin required for items of type GiftCard
error.storecreditrequired=Failure - Credits required for items of type storeCredits
error.undefineditemtype=Failure - Item type is not valid, it should be from sku, offer, promoCode, loyalty, giftCard, storeCredit
error.inventoryserviceunavailable=Failure - Inventory service unavailable
error.requestedinventoryunavailable=Failure - Requested Inventory unavailable
error.unabletoaddtocart=Failure - Unable to add items to cart
error.listadditemsserviceunavailable=Failure - Unable to add items to Cart
error.unabletoupdateincart=Failure - Unable to update items to cart
error.listupdateitemsserviceunavailable=Failure - Unable to update items to cart
error.addressupdatetoprofilefailed=Failure - Update address to profile failed
error.maxBagCountExceeded=Failure - Max bag count exceeded
error.duplicateofferid=Failure - Duplicate Offer ID. Cannot be added again
error.duplicatepromocode=Failure - Duplicate Promo Code. Cannot be added again
error.duplicategiftcard=Failure - Duplicate Gift Card. Cannot be added again
error.invalidcampaign=Failure - Campaign invalid for the request
error.invalidpartner=Failure - Partner invalid for the request
error.usernotauthorized=Failure - User not authorized to perform request
error.cartdeletionerror=Failure - Unable to delete Cart
error.cartcreationerror=Failure - Unable to Create Cart
error.cartitemidrequired=Failure - Item id required for the requested operation
error.cartitemidnotincart=Failure - Item not in cart to perform operation
error.itemisnotgiftable=Failure - Item is not giftable
error.getproductfailed=Failure - Get Products Call failed
error.callnotsecure=Failure - Call not secure
error.getcartfailed=Failure - Unable to get Cart
error.getcartitemfailed=Failure - Unable to get items from Cart
error.unabletosavecartincache=Failure - Unable to Store Cart in Cache
error.productidrequired=Failure - Product Id required for items of type sku
error.creditordebitcarddetailsrequired=Failure - CardNumber and CardPin required for the card
error.invalidshippingoption=Failure - Invalid Shipping Option provided
error.unabletoselectshippingoption=Failure - Shipping options are not valid. Please select a new shipping option
error.listdeleteitemsserviceunavailable=Failure - Unable to delete items from cart
error.addtobagfailed=Failure - Unable to add items to bag
error.getShippingMethodCall=Failure - Shipping Method service unavailable
error.getShippingRateCall=Failure - Shipping Rate service unavailable
error.cartrecalculationrequired=Failure - Cart Recalculation required
error.taxcalculation=Failure - Tax Calculation service unavailable
error.invalidgiftcard=Failure - Gift Card Invalid
error.invalidbillingaddress=Failure - Invalid Billing Address
error.nodefaultwarehouseaddressfound=Failure - No default Warehouse Address found
error.nodefaultshippingaddressfound=Failure - No default Shipping Address found
error.memcacheManagerUnavailable=Failure - Memcache Manager Unavailable
error.dbSessionManagerUnavailable=Failure - DBSession Manager Unavailable
error.httpClientServiceUnavailable=Failure - Http Client Service Unavailable
error.emailServiceUnavailable=Failure - Email Service Unavailable
error.streamUserServiceV2Unavailable=Failure - Stream User Service V2 Unavailable
error.streamLoyaltyServiceUnavailable=Failure - Stream Loyalty Service Unavailable
error.streamListServiceUnavailable=Failure - Stream List Service Unavailable
error.streamMessagingServiceUnavailable=Failure - Stream Messaging Service Unavailable
error.streamInventoryServiceUnavailable=Failure - Stream Inventory Service Unavailable
error.streamPimServiceUnavailable=Failure - Stream Pim Service Unavailable
error.bpmServiceUnavailable=Failure - BPM Service Unavailable
error.streamAddressValidationServiceUnavailable=Failure - Stream Address Validation Service Unavailable
error.streamShippingServiceUnavailable=Failure - Stream Shipping Service Unavailable
error.streamTaxServiceUnavailable=Failure - Stream Tax Service Unavailable
error.resourceBundleUnavailable=Failure - Resource Bundle Unavailable
error.lessLoyaltyPoints=Failure - Less Loyalty Points
error.lessStoreCredits=Failure - Less Store Credits
error.taxServiceUnavailable=Failure - Tax Service Unavailable
error.unitPriceRequired=Failure - Unit Price Required
error.giftServiceUnavailable=Failure - Gift Service Unavailable
error.httprequestempty=Failure - Http Servlet Request is empty
error.invalidlocale=Failure - Invalid Locale
error.invalidversion=Faliure - Invalid Version
error.streampromotionserviceunavailable=Failure - Stream Promotion Service Unavailable
error.giftserviceunavailable=Failure - Stream Gift Service Unavailable
error.unabletogiftwrap=Failure - Unable to Gift Wrap
error.unabletoship=Failure - Shipping Option unavailable
error.firstnameinvalid=Failure - First Name is Invalid
error.lastnameinvalid=Failure - Last Name is Invalid
error.streetoneinvalid=Failure - Street Information Invalid
error.cityinvalid=Failure - City Information Invalid
error.stateinvalid=Failure - State Information Invalid
error.countryinvalid=Failure - Country Information Invalid
error.zipinvalid=Failure - Zip/Postal Code Invalid
error.cardnumberinvalid=Failure - Card Number Invalid
error.cardtypeinvalid=Failure - Card Type Invalid
error.cardbrandinvalid=Failure - Card Brand Invalid
error.cardexpmonthinvalid=Failure - Card Expiration Month Invalid
error.cardexpyearinvalid=Failure - Card Expiration Year Invalid
error.cardcvvnumberinvalid=Failure - Card CVV Number Invalid
error.cardpinnumberinvalid=Failure - Card Pin Number Invalid
error.noitemsininput=Failure - No Items in input to Process
error.applyofferfailed=Failure - Apply Offer Failed
error.cartupdateerror=Failure - Cart Version Update Failed
error.invalidpromocodes=Failure - Invalid Promo Codes
error.invalidproduct=Failure - Product not available any more
error.quantityBelowMinimum=Failure - Purchase quantity below required
error.quantityAboveMaximum=Failure - Purchase quantity above allowed
severe.unknownerror=Unknown - UnknownError
error.cartinvalid=Failure - Cart is Invalid
error.unabletocheckinventory=Failure - Unable to check inventory
error.paymentnotEqualTotalcost=Failure - Paid amount is not equal to total cost

 

 

Revision History
2019-06-14 | PLK – Page created and content uploaded.