Solved

ProductVariantCreate - Hit internal server error

jake-frate
Shopify Partner
13 1 4

I work on a Shopify App, and a repeated operation that it performs is creating product variants (with the productVariantCreate GraphQL mutation). I have never run into issues with it, but at some point today when I ran this operation, I received the following error message: "

Internal error. Looks like something went wrong on our end.\nRequest ID: ea19de65-0d86-4bf3-adaa-81be58053cae (include this in support requests)."

 

I ran the operation three more times and got the same error message, but with the following request ID's: 

d20ef869-2f2f-4fb6-9111-3f439c187d03,
c23ab30f-e051-4bee-92c3-8a914e4a1b23,
45792734-2faf-4679-aed6-12305844207f

 

As far as I know, nothing about how we use this mutation has changed on our end, and the error message does not give us any clues as to how to resolve it. 

 

Our merchants depend on this working so I hope this gets resolved ASAP!

Accepted Solution (1)
jake-frate
Shopify Partner
13 1 4

This is an accepted solution.

Solved: The error was happening because I the location id i was using to stock the product variant was no longer existing on the shop.

 

Would be nice if Shopify could add that to the error message here!

View solution in original post

Replies 2 (2)

jake-frate
Shopify Partner
13 1 4

Still not working today. Here's the request ID given in the error message:

f5e06384-36fe-4d95-ba2f-c57f9a6c98f0

 

jake-frate
Shopify Partner
13 1 4

This is an accepted solution.

Solved: The error was happening because I the location id i was using to stock the product variant was no longer existing on the shop.

 

Would be nice if Shopify could add that to the error message here!