ERROR 9404: Could not fetch the image — the server returned HTTP error 404 Not Found
What is the issue or error you’re encountering
I’m trying to upload images to Cloud Images, and serve the image with Cloud Workers to add an overlay watermark on them.
What steps have you taken to resolve the issue?
When I served the images with signatures without any transformation using Cloud Workers, it worked flawlessly
When I tried to add the overlay draw, I got the ERROR 9429: Flexible variants are not enabled for the account
When I enabled the flexible variants feature and retried, The error become ERROR 9404: Could not fetch the image — the server returned HTTP error 404 Not Found
It sounds like you’re trying to use all the features. And that’s pretty cool. It may be that the specific combination you’re attempting isn’t (yet) possible.
Can you post example Worker code of what you’re trying to do?
I want my original images to be private, and serve an endpoint to access a public variant that have a watermark on. That feature cannot be accomplished via transformation with URLs, so I used this worker code. The results are as above.
Going back to basics, it looks like you can’t use Image Resizing on an Images source, though I got a 9524 for the 404 error. I do have Resize from any origin enabled.
I tried the cdn-cgi approach, and it also returned a 404 when I use anything from imagedelivery, even when it works fine with a regular image from anywhere else: