A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
I am using Shopify REST API to sync products from my platform to shopify.
I am trying to upload an image for an existing product from a url. But its showing the below error:
{'errors': {'image': ['Could not download image: ["/products/large/10001_large_1.JPEG is not a valid image file type."]']}}
The image url I am trying to upload is:
https://p4mc-staging.s3.amazonaws.com/products/large/10001_large_1.JPEG
This image url is visible in browser and was downloaded without any timeout.
Please help.
oh sorry for that
can you please upload attachment image
Thanks Ketan Kumar.
We were able to upload the provided image. Can you please let me know what was the issue with the previous image?
Please let us know the issue that was causing the below image url which we initially used not to be uploaded.
https://p4mc-staging.s3.amazonaws.com/products/large/10001_large_1.JPEG
Is it because its timing out or due to file size issue?
Please provide some insights here, which would be very much appreciated.
Thanks
The api we are using is the below one:
POST https://shopify.dev/api/admin-rest/2022-07/resources/product-image#post-products-product-id-images