I’m having some issues with images returning an IPX error 500 on a NextJS app. I’m using Sanity as a CMS plugged with Cloudinary to host our images and videos. Everything is working well locally or on Vercel so it seems there’s some issue with ipx.
- NextJs 12.1.0
- @netlify/plugin-nextjs 4.7.0
- Site - field22-frontend
- I’m building my website by pushing directly on our main branch on Github
Here is my netlify.toml
file
[build]
command = "npm run build"
publish = ".next"
[[plugins]]
package = "@netlify/plugin-nextjs"
Here is an example of an image that doesn’t work:
https://field22-frontend.netlify.app/_ipx/w_3840,q_75/http%3A%2F%2Fres.cloudinary.com%2Ffield-systems%2Fimage%2Fupload%2Fv1652005693%2FTest%2FUltraviolet%2FFIELD_Prolonged_Exposure-3_z7rric.avif?url=http%3A%2F%2Fres.cloudinary.com%2Ffield-systems%2Fimage%2Fupload%2Fv1652005693%2FTest%2FUltraviolet%2FFIELD_Prolonged_Exposure-3_z7rric.avif&w=3840&q=75
Here is an example of another image hosted exactly in the same way on Cloudinary that does work:
https://field22-frontend.netlify.app/_ipx/w_1920,q_75/http%3A%2F%2Fres.cloudinary.com%2Ffield-systems%2Fimage%2Fupload%2Fv1652376054%2FProjects%2FUltraviolet%2F20.11.17.ultraviolet.08_uzawa6.jpg?url=http%3A%2F%2Fres.cloudinary.com%2Ffield-systems%2Fimage%2Fupload%2Fv1652376054%2FProjects%2FUltraviolet%2F20.11.17.ultraviolet.08_uzawa6.jpg&w=1920&q=75
Any idea why some images are broken?
Thanks