I’m having an issue with a new site and Posting Netlify forms via fetch.
I’ve gone through every step of - [Support Guide] Form problems, form debugging, 404 when submitting
My form is appearing in my Netlify UI but I’m not relieving any submissions in the UI (not in spam)
I have another form on this website (contact) that I submit with the usual POST which works fine, it just seems to be the FETCH version.
I have a similar form on another site that works perfectly (i just re-used the code). - UPDATE SEE BELOW
It looks as though when submitting it’s getting a 404, I wondered whether the new DSG, SSR stuff in Gatsby adds a weird redirect…
- I have tried submitting to an empty HTML file in a static folder, this comes back with a 400
- I’ve tried removing gatsby-netlify-plugin in case that was causing redirects
- I’ve tried adding empty _headers and _redirect files
- I’ve investigated the headers (nosniff, referrer) on my site to see if that was stopping submissions.
I’ve just hit a dead end and I’m desperate for some help.
The form in question can be found at - Horse - Entry form
when submitting the form I have added plenty of console.logs in to show the data being submitted.
I’m happy to share a repo if any more information is needed.
UPDATE: I’ve had to push that form live removing FETCH and file upload.
I have tried my old site which used to work perfectly… no they are all broken - Example: