What's your biggest current challenge? Have your say in Community Polls along the right column.
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.

Getting a consistent "INTERNAL_SERVER_ERROR" when running bulkOperationRunMutation

Getting a consistent "INTERNAL_SERVER_ERROR" when running bulkOperationRunMutation

ismj
Shopify Partner
1 0 0

I am getting a consistent 

{"errors":[{"message":"Internal error. Looks like something went wrong on our end.","extensions":{"code":"INTERNAL_SERVER_ERROR","requestId":null}}],"__lineNumber":10}

 When running a bulkOperationRunMutation with a productCreate mutation. Only some products are getting this error only sometimes. Each product individually is working currently when run through the same code, just put through an individual productCreate. I really want to do this the correct way through this mutation, but this error is making that quite hard.

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1453 238 525

Hey @ismj ,

 

Bulk Operations do encounter Internal Errors for a variety of different reasons and it sounds like you took the right steps in testing the mutations outside of the bulk operation to ensure they are not erroring out. You could also retry the Bulk Operation but be cautious not to do these back to back as its always a best practice to space the retries out. 

 

Should this persist, I would advise on contacting our Partner Specialists via the 'Support' tab in your partner dashboard where they can gather some technical details and look closer at the error itself.

 

Hope that helps! 

 

 

 

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