Method now defined if form success page is an ISR page


If we use an ISR page as a success page from a Netlify form we get a 405 error. We remove the ISR part of the page and the getStaticProps from the success page and the form starts working.

What is the solution to this?

You should not submit the form to a page that’s using ISR, rather a static HTML page. This is explained here: