could someone take a look at the logs for me?
I am getting a consistent 422 "Unprocessable Entity" on
Headers on the image itself:
Server →nginx/1.13.7 Date →Thu, 23 Apr 2020 15:08:39 GMT Content-Type →image/jpeg; charset=UTF-8 Transfer-Encoding →chunked Connection →keep-alive Strict-Transport-Security →max-age=31536000; includeSubDomains
Images from this source have stopped working recently, within the last couple of days. This happens with every image from this source. Images from other sources are processing fine.
Thanks in advance!
Hi @Wilhelm_Uschtr1 ,
Thank you for sharing the X-Request-ID value.
From our platform logs, this appears to be the reason why this API request was failing:
[WebFile] download_status=500 download_size=338 download_time=0.8788253420498222 [WebFile] Downloading image failed with: The file does not exist - https://vlb-proxy.ext.autorenwelt.net/api/v1/4gHOjcUbELPZvdebHNlGOwgdO4WrxPadBgicMBXiFg8CJFv9LT/9783...
It appears that Shopify could not find and download the image from the URL of https://vlb-proxy.ext.autorenwelt.net/api/v1/4gHOjcUbELPZvdebHNlGOwgdO4WrxPadBgicMBXiFg8CJFv9LT/9783.... While I can download this file correctly from my browser, I would just check to make sure this file is hosted correctly and is publicly available for any client to download over the web.
Hassain | Developer Support Specialist @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution
Hello @hassain , thank you so much for checking!
But that's exactly the part that I don't understand: I can load the image in the browser, I can curl it, I can postman it - you can fetch it in the browser. But the API insists on telling me, that it's not there. And it only has changed to pretend to do so very recently, within the last couple of days.
Have there been any changes in image fetching or validation? Maybe in regards to the headers? One thing that's different in comparison to our other image sources is the chunked transfer encoding and depending on that, the missing Content-Length header. So far I haven't been able to re-configure our proxy to test that hypothesis, but right now it's the only lead I have.
What do you think? Maybe there are there some semi-official requirements from Shopify's side as to what constitutes "correct hosting"? I couldn't find anything in the official docs and the forums though.