Next.js and Cloudinary return 400 for image in Render

Next.js and Cloudinary works great in local env but in deployment in the cloud I get ““url” parameter is not allowed”
in localhost the request is:
http://localhost:3000/_next/image?url=<valid_and_works_cloudinary_url>
return 200

in development the request is:
https://digital-resume-frontend-dev.onrender.com/_next/image?url=<valid_and_works_cloudinary_url>
return 400 “url” parameter is not allowed

Hey there,

Unfortunately, we’re not in the best place to debug customer application code - your application is raising this error.

A quick Google for that error leads me to https://github.com/vercel/next.js/issues/18412 which might help,

Regards,

John B

1 Like

the link helps
it was in the docker copy of the next.config.js

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.