Error 409 When Uploading Images to Shopify API - Need Help!

Hello, Community!

I am experiencing an issue with the Shopify API integration and am wondering if anyone here has encountered a similar problem and can offer a solution or guidance.

We’re able to create products just fine through the POST endpoint /admin/api/2023-10/products.json. However, when attempting to upload images for these products using the POST endpoint /admin/api/2023-10/products/{product_id}/images.json, we are intermittently receiving “409 - Conflict” errors. Intriguingly, this doesn’t happen on every call but rather sporadically, which makes diagnosing the issue even more challenging.

We have already implemented automatic retries, but this is far from ideal. We have not found any references to this specific error in the official documentation or on other forums. Here’s what happens after the upload attempts (attached image).

Has anyone else gone through this or could offer some insight on how to resolve or circumvent this issue? Any help would be greatly appreciated!

Thank you in advance!

Hey @romeudev

Checking with the Asset folks. Will report back.

Hi @SBD

Thank you very much, this will help us a lot! Because we are frequently receiving 409, for no obvious reason, and we had to implement a retry with 6 attempts to resend our requests.

Hello, what’s up?

Hey @romeudev

Still waiting on the asset folks. While we’re waiting are you able to obtain a request ID from the response headers of a 409 response?

You didn’t happen to get any closure on this issue, have you?