Shopify INTERNAL_SERVER_ERROR during checkout creation

Solved
Highlighted
Shopify Partner
3 0 0

Hi!

 

While checkout creation via StorefrontAPI it returns INTERNAL_SERVER_ERROR:

{
    "errors": [
        {
            "message": "Internal error. Looks like something went wrong on our end.\nRequest ID: bff179ff-ea96-43e6-8894-9634f07d8958 (include this in support requests).",
            "extensions": {
                "code": "INTERNAL_SERVER_ERROR",
                "requestId": "bff179ff-ea96-43e6-8894-9634f07d8958"
            }
        }
    ]
}
 
shop: gambino-slots.myshopify.com
 
Could you please help?
 
Thanks,
Genadzi
0 Likes
Highlighted
Shopify Staff (Retired)
Shopify Staff (Retired)
624 103 124

This is an accepted solution.

Hey @Genadzi ,

 

Looking through our platform logs, it appears this error was thrown because you provided an invalid ID as an input argument to your checkoutCreate mutation.

 

It appears for the input argument of `lineitems.variantID` you used Product ID instead of a Product Variant ID. Fixing this so you use a Product Variant ID instead should resolve your issue.

 

Hassain | Developer Support Specialist @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

1 Like
Highlighted
Shopify Partner
3 0 0

Hey @hassain

 

Thanks a lot for your help, but I think you agree that error message is not very informative and a little bit confusing, because when I tried to enter not existing ID it returned: "Invalid global ID" or smth. like that, so I thought that my ID is valid.

 

Regards,

Genadzi

0 Likes