API_INVALID_CART

The cart is invalid

InvalidCartErrorHTTP 404ApiErrorKind

Thrown from

packages/errors/src/index.ts:417
* throw new InvalidCartError();
View ↗
apps/storefront/src/utils/checkout.ts:95
throw new InvalidCartError('Cart is undefined or null');
View ↗
apps/storefront/src/utils/checkout.ts:97
throw new InvalidCartError('Cart is empty');
View ↗
apps/storefront/src/utils/checkout.ts:99
throw new InvalidCartError('Cart is missing checkoutUrl');
View ↗
apps/storefront/src/utils/checkout.ts:111
throw new InvalidCartError(`Refusing non-https checkoutUrl: ${parsed.protocol}`);
View ↗
apps/storefront/src/utils/checkout.ts:119
throw new InvalidCartError(`Invalid checkoutUrl: ${cart.checkoutUrl}`);
View ↗

On this page