Internal error. Looks like something went wrong on our end.

Sterling_Smith
Excursionist
19 0 6

Hi, we're suddenly receiving this message:

 

[{"message":"Internal error. Looks like something went wrong on our end.\nRequest ID: 1e678e65-9546-4899-93d8-670488c9e9ce (include this in support requests).","extensions":{"code":"INTERNAL_SERVER_ERROR","requestId":"1e678e65-9546-4899-93d8-670488c9e9ce"}}]

 

Any help is appreciated.  This happens when trying to pay for an order using the Storefront API.

0 Likes
syf_
Shopify Staff
Shopify Staff
86 19 15

Hi @Sterling_Smith,

After checking the logs, I found out the issue was that you were using the checkoutCompleteWithCreditCardV2 to complete a checkout that had an order total price of 0. In such a scenario, since no payment is required, the mutation you should use is the checkoutCompleteFreedocs here. When using the checkoutCompleteWithCreditCardV2 the paymentInput amount value should be > 0.

Let me know if you have any additional questions.

Best,
Seth.

syf_ | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me 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

0 Likes