405 error when submitting Netlify form

Hi there

I am using nextjs version"next": "13.4.7" and have been able to successfully submit forms from my website. I have been trying to resolve an issue on my site where the back button does not function correctly and I followed the suggested fix on the link below and adjusted the version of @netlify/plugin-nextjs to 4.29.5-appdir.0. This does fix the issue with the back button but it breaks all of my forms. I am now getting a 405 error when I try to submit a form.

Is there a way I can get the forms to successfully submit when using "@netlify/plugin-nextjs": "4.29.5-appdir.0"?


This shouldn’t be used - it’s an ancient version and lacks a lot of recent fixes. Your issue is this: