I Cannot get Cart Using Store Front API because of Internal Error

I Cannot get Cart Using Store Front API because of Internal Error

Shopify Partner
1 0 0

I get the following error when retrieving a cart in GraphQL in Shopify's StoreFrontApi.

{code: "INTERNAL_SERVER_ERROR", requestId: ""}

"Internal error. Looks like something went wrong on our end.\nRequest ID: (include this in support requests)."

Please let me know how to resolve this.

Replies 2 (2)

Shopify Staff
1451 238 497

Hey @upload - would you be able to share the payload body/GraphQL query you're making (excluding any sensitive shop-related information) - we can't say for sure what may be happening here, but with a bit more investigation we can definitely look into this further. Are you just using a standard query like this one via the storefront API to retrieve a cart using its id?

Hope to hear from you soon - happy to keep looking into this. 


Al | Shopify Developer Support

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

Shopify Partner
3 0 1

Hi, i have the same problem.

I'm testing a custom app with php (using official php shopify library), when i call the storefront api for create a cart and add an item line I get the same error.
I'm using the same call of the example in this page https://shopify.dev/docs/custom-storefronts/building-with-the-storefront-api/cart/manage#step-1-crea...


Obviously i change the product variant id for my store product id.


Can you help me?