Failed Deploys with Form Detection

Hello,

I am getting failed builds when trying to deploy. I’ve tried deploys with Github as well as manual deploys and neither of them are working.

It seems like when I turn on form detection and add the Netlify forms attribute to my HTML form tag, that is when it fails. It builds successfully if form detection is turned off and the attribute is removed. Any ideas?

Here is the full build log:

6:37:13 AM: Starting post processing

6:37:13 AM: Post processing - HTML

6:37:13 AM: Starting post processing

6:37:13 AM: Post processing - HTML

6:37:13 AM: Starting post processing

6:37:14 AM: Post processing - HTML

6:37:14 AM: Starting post processing

6:37:14 AM: Post processing - HTML

6:37:14 AM: Starting post processing

6:37:14 AM: Post processing - HTML

Thanks in advance for the help!

Hi @magiccitywebdesigns,

Thanks for reaching out and welcome to Netlify’s Support Forums!

To help with troubleshooting this issue, could you provide us with the sitename that you’re seeing the failed deploys on? For example, sitename.netlify.app. We’ll then be able to look further into this issue. Thanks!

Thanks for the response. The site name is https://gorgeous-nougat-9579c2.netlify.app/

@Melvin, any help with this would be great. Thanks!

The site you previously shared does not exist @magiccitywebdesigns.

Are you deploying from a git repository? Are you able to share a link to it?

My apologies. I had removed that site and tried a new one while troubleshooting.

The current app is https://dazzling-kashata-9a354d.netlify.app/

This one has the same issue.

There are several issues with the form. Have you tried configuring the form as per the example in the forms documentation?

Note also, the <button> is wrapped in an <a>. This is incorrect.

2 Likes

It looks like the a tag is what was causing the issue. Thank you for your assistance!