GraphQL Error

Highlighted
Shopify Partner
5 0 2

I get this error when I try to send an invoice. Any ideas on what the problem is?

GraphQL error: Internal error. Looks like something went wrong on our end. Request ID: d5798c58-f426-42ae-a329-4328ed65bcfc 

0 Likes
Highlighted
Shopify Staff (Retired)
Shopify Staff (Retired)
624 102 129

Hey @Ohr_T ,

 

Thank you for providing the X-Request-ID value!

 

From my investigation, it appears that the Draft Order you were trying to send an invoice for is deleted. That may have caused the error to be thrown, if you deleted the Draft Order prior to running the mutation for sending the invoice.

 

Also, if you are still seeing this error with active Draft Orders, could you test what happens if you include "email" as an input along with the draftOrder ID? Based on the error messages I have seen through our logs from your X-Request-ID value, its plausible that passing along the optional "email" input into the draftOrderInvoiceSend mutation may resolve this issue 

 

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

0 Likes