Hi Alteryx Community,
I’m working on a project involving product image URLs from an e-commerce platform and encountered an issue. My goal is to preview product images from the product image links using the Download Tool + Blob Convert Tool, even if the URL doesn’t end with .jpeg or .png. For certain URLs, Alteryx returns null in the DownloadData field, even though the DownloadHeaders indicate HTTP/1.1 200 OK.
I have tried several ways, such as
Added these custom headers in the Download Tool:
User-Agent: Mozilla/5.0
Referer: [main platform domain]
Accept: image/*
Verified the links work in a web browser
Checked for missing extensions like .jpeg — issue happens with or without them
So my questions are
1. Why is Alteryx returning null despite a 200 OK response?
2. How can I get Alteryx to treat these links as downloadable images even without extensions?
3. Any workaround to force image interpretation in Blob Convert?
I have attached the workflow along with sample URLs for testing. Thanks in advance for your help! Would love any suggestions or ideas.
Solved! Go to Solution.
hi @Gaurav_Dhama_ ,
Thank you for helping me on this. The workflow works fine, but is it possible to run the workflow with the images as a temporary file instead? I want to avoid downloading a ton of images into my local device.
You can provide a temp path there in the formula tool.
The reason why I added a path there is so that i can pass the extension as well.
using the option “save as temp file” in download tool saves it as a generic temp file without extension.
Got it! Another thing is that somehow I have an image that can't be rendered and gives an error stating that the image is not a JPEG file. I checked, and it is a PNG file (based on the error 0x89 0x50). Is there a way to detect PNG files without having to filter out that specific image file in between processes?
User | Count |
---|---|
107 | |
82 | |
70 | |
54 | |
40 |