Hello there ! Am using Next.js 13.4.4 and I’m currently dealing with a bug throught the deployment of Netlify.
In development and in the Vercel environment deployment all is good. But with Netlify the dynamic urls of my next.js projects redirects to a 500 errors. However the build didn’t fail.
a dynamic url is for example https://my-url.com/[id] where id can change
Any idea of why it fails and how to resolve this please ?
Hi, is this about Netlify CMS? You’ve tagged your post as such. If so I’d recommend you look into Decap CMS for support.
Hi ! Ho sorry I don’t know why netlify-cms was checked, nope it isn’t
okay, can you please provided a link to your site?
Please reference this:
Hello, sorry for my late answer, was a bit busy.
Her’s a link you can try https://tracksinsights.juru.rocks/test-dynamic-route/123, I just provide a new build.
It’s a simple dynamic route (the parameter 123). It was working on Vercel and in localhost. The japanese version of the website (https://tracksinsights.juru.rocks/ja) also failed.
Will have a try by installing the next-plugin package on my project maybe.
Thank you @hrishikesh I’ll check for this, I had another try by desactivate edge but it still fail, will try with this one
Now it works with the the checkout you mentionned ! Thank you
If some users are coming there, here’s the link you should follow Server.edge not defined Error on nextJS SSR functions cause site to return 500 Errors - #31 by lewisking
thanks for coming back and confirming you resolved the issue.