Cloudflare Image resizing giving error 9524
I am using Cloudflare Image Resizing but it has stopped working(error
9524
) for some URLs recently. Here is an example URL that is now broken: https://www.todesktop.com/cdn-cgi/image/width=96,height=96,f=auto/https://793ac95a.website-7p8.pages.dev/_app/immutable/assets/customer-logo-ReadyRunner.03a9daf5.png
And here is the source image: https://793ac95a.website-7p8.pages.dev/_app/immutable/assets/customer-logo-ReadyRunner.03a9daf5.png
Any idea why it is broken and how to fix it?1 Reply
There's a list of errors here: https://developers.cloudflare.com/images/image-resizing/troubleshooting/
9524 — The /cdn-cgi/image/ resizing service could not perform resizing. This may happen when an image URL is intercepted by a Worker. Check your Workers and try again.
pages runs on workers, so I'm guessing that's why. You can do it on your custom domain though:
https://www.todesktop.com/cdn-cgi/image/width=96,height=96,f=auto/_app/immutable/assets/customer-logo-ReadyRunner.03a9daf5.png
Troubleshooting | Image Resizing · Cloudflare Image Optimization docs
Does the response have a Cf-Resized header? If not, then resizing has not been attempted. Possible causes: