[BUG] productSet product.files not working as documented as of this morning

Following on from my reply to this thread, I narrowed it down to the product.files, which I think warrants a separate thread. Removing the files property of my payload or replacing the file.id with file.originalSource (i.e. to create a new image rather than referencing an existing one) gets me a successful response. This is the latest information I can find in the changelog:

…which has been working for months without issue. Not working since this morning though. What has changed?

1 Like

NB same error with all more recent API versions. Having tested extensively, I can see that the problem is intermittent. More than half of the calls return the error and I can’t see any pattern in the products affected (and some work straight away, some after several retries, some never).

Hey Francis,

Do you by chance have a request id from the response headers when the error was returned?

Here’s some examples:

742849d1-a8c1-4bc1-8bae-045e060cd10a-1750356737
289f2896-f3dd-488b-8537-841b5c73cd03-1750356856
1c594f47-4bff-4467-a702-fab56431aec5-1750356881
076577c2-ed6f-4b39-9f68-738f0a1f4217-1750356897
6c9b1405-2a2d-445e-bb2c-c0662b1402f5-1750356898

@Francis_Bevan If you leave the

{
  contentType: "EXTERNAL_VIDEO"
  id: "gid://shopify/ExternalVideo/<:id>"
}

out of your requests, and use only IMAGE, do they then proceed reliably?

Hm, yes this does seem to work - can’t believe I didn’t spot that link before - all those that fail have external videos. Still, it’s been working fine until today…

What has changed and what is the correct way to update these?

Thanks for confirming that. We are looking in to see what’s happening here.

Do you by chance have a request ID from yesterday where a request including EXTERNAL_VIDEO worked?

I’m afraid not - I wasn’t logging the response headers until earlier today.

Just to follow up here with the community. Our team identified an issue specifically with External Videos and have since resolved this. I’ll mark this thread closed for now.

Thanks again for the report Francis!