API_INVALID_CART
The cart is invalid
Thrown from
packages/errors/src/index.ts:417
* throw new InvalidCartError();apps/storefront/src/utils/checkout.ts:95
throw new InvalidCartError('Cart is undefined or null');apps/storefront/src/utils/checkout.ts:97
throw new InvalidCartError('Cart is empty');apps/storefront/src/utils/checkout.ts:99
throw new InvalidCartError('Cart is missing checkoutUrl');apps/storefront/src/utils/checkout.ts:111
throw new InvalidCartError(`Refusing non-https checkoutUrl: ${parsed.protocol}`);apps/storefront/src/utils/checkout.ts:119
throw new InvalidCartError(`Invalid checkoutUrl: ${cart.checkoutUrl}`);Related errors
API_UNKNOWN_ERROR
API_UNKNOWN_SHOP_DOMAIN
API_UNKNOWN_COMMERCE_PROVIDER
API_UNKNOWN_LOCALE
API_INVALID_SHOP
API_INVALID_SHOP_DOMAIN
Stable help URL:https://docs.nordcom.io/errors/api-invalid-cart/
Edit on GitHub ↗