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.

GraphQL API internal error

GraphQL API internal error

samyl
Visitor
2 0 3

Hi,

Today we get a lot of the following error, it's affecting all our customers:

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

Request ID: b9c07146-4b36-4a30-a710-542ff161dde9 (include this in support requests).

 Here is the request we send:

mutation draftOrderCalculate($input: DraftOrderInput!) {
    draftOrderCalculate(input: $input) {
        calculatedDraftOrder {
            appliedDiscount {
                amountV2 {
                    amount
                    currencyCode
                }
            }
            taxLines {
                priceSet {
                    presentmentMoney {
                        amount
                        currencyCode
                    }
                }
                rate
                ratePercentage
                title
            }
            subtotalPrice
            totalPrice
            totalShippingPrice
            totalTax
            availableShippingRates {
                handle
                title
                price {
                    amount
                    currencyCode
                }
            }
        }
        userErrors {
            field
            message
        }
    }
}

 

We did not change anything recently, and on your status page it says that "All systems are operational" (https://www.shopifystatus.com/)

May we have more details regarding the issue?

Replies 3 (3)

AcquireKelu
Visitor
1 0 0

Hello,
we are facing the same problem.

Very problematic for our customers, would love to get more information on the issue

samyl
Visitor
2 0 3

I noticed that removing the field `calculatedDraftOrder.availableShippingRates.price.currencyCode` from the query fixes the issue for us, so we are going to deploy this fix for now...

syf_
Shopify Staff
95 21 25

Hey @samyl @AcquireKelu,

This was a known bug the team was aware of for which a fix was shipped last week.

Let me know if you're still experiencing this error.

Thanks,
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