Internal server errors from productUpdate bulk mutations

Hi everyone,

We are using the productUpdate mutation to add media to products. We are running the mutation in bulk mode. The mutation is only used to add media, that is, we supply the media argument with an array of media, but use the product argument only to pass the product id, and omit the deprecated input argument entirely. This often results in the following type of error:

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

Is there anything we can do to track down the cause of these errors? They are effectively preventing us from adding media to several client stores. The problems seem to be isolated to a subset of our clients.

We never send more than 10 products in the arguments to the updateProduct bulk mutation. We don’t have exact numbers for the number of media per product, but we’ve seen the error on products with a modest number of media being sent, e.g. less than 25 for all products in the bulk file, so the cause does not seem to be an excessive length of the media argument.

We are currently using API version 2025-04

Thanks in advance,
Jonas

Hey Jonas,

Do you have some request ids, as the Shopify team will need those to dig into your specific request.

Do you have an example of the query and example variables? Just to double check those too please :folded_hands: