Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Cannot remove last remaining item from cart

Cannot remove last remaining item from cart

Jonsp
Shopify Partner
2 0 1

I'm building a site for a client using Nuxtjs and the nuxt-shopify NPM package which looks to be making use of the storefront graphql API.

All is working fine to retrieve items, create carts, add to card, checkout but when removing items from the cart, the final item to be removed throws an error. Only the last item remaining no matter what product it is.

The error doesn't give much information away. Any help appreciated. Thanks.

 

message: "Internal error. Looks like something went wrong on our end.
Request ID: e3b48fce-ed25-4fd4-80b7-a9aa5b7d53e9 (include this in support requests)."
extensions: {
  code: "INTERNAL_SERVER_ERROR",
  requestId: "e3b48fce-ed25-4fd4-80b7-a9aa5b7d53e9"
}

Screenshot 2022-10-27 111505.png

Replies 2 (2)

jfrux
Shopify Partner
3 0 0

Did you ever figure this out?
I'm having this same issue.

Jonsp
Shopify Partner
2 0 1

I think I just deleted the cart and created a new one if I tried to remove the last item. I don't think I ever found a proper solution, although the way I did it works fine.