The cartCreate GraphQL storefront api has been failing silently for some time, returning cartData null with no userErrors. And after some time cart creation gets succesfull
Hey, I’ve run into the same issue before with the cartCreate Storefront API. Sometimes Shopify’s cache or session throttling can cause the mutation to silently return null without userErrors. Often, retrying after a few seconds works—but it’s inconsistent.
A more reliable approach is to:
-
Add retry logic in your frontend code with exponential backoff.
-
Check for client-side caching or cookies that may interfere with cart creation.
-
Log all responses even when
cartDataisnullto spot patterns.
We’re seeing a cart creation failure on a specific store, but it’s working on all other stores. The weird part is that the same API call works fine when I run it from my local environment, most likely a caching issue only?