Hi,
I am using Shopify REST API to upload image to a newly published product, using the endpoint
//images.json POST method. But image is not getting uploaded. Below is the payload I’m passing and the response from the API. API version is 2021-04.
{‘image’: {‘src’: ‘https://p4mc-staging.s3.amazonaws.com/products/large/415492_large_1.PNG?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAUXCMJPDUQ56WA4RS%2F20220129%2Fus-west-1%2Fs3%2Faws4_request&X-Amz-Date=20220129T092915Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=f92d3f7e1bfc37f408739cdcdafc873ed295edf5e73f10c22db72a1a510e9882’, ‘variant_ids’: [41301285404845]}}> > {‘errors’: {‘image’: [‘Could not download image: [“/products/large/415492_large_1.PNG is not a valid image file type.”]’]}}
Thanks in advance.
