I'm trying to upload an image via the Shopify REST Admin API Product Image ressource but I always get this error:
Also, the image is jpg 2048x2048 100kb compressed using Mozjpeg algorithme, the attachment URL has only the binary encoding it doesn't have the data:base... attribute at the beginning, I tried everything but I always get that error I changed sizes formats ect..
This is so frustrating because I have generated the image to my file system and it works also the base64 code that was used in the attachment param was valid and verified checked it in the browser, what Am I missing?
A Shopify Developer building in public Shopify themes from scratch. I love what I do and I’m willing to share it ❤️