# Form submission issue in Stateful ReactJS

**URL:** <https://answers.netlify.com/t/form-submission-issue-in-stateful-reactjs/96573>\
**Category:** Support\
**Tags:** netlify-forms\
**Created:** [July 12, 2023, 11:56pm UTC](https://answers.netlify.com/t/form-submission-issue-in-stateful-reactjs/96573 "2023-07-12T23:56:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![abysssick](https://avatars.discourse-cdn.com/v4/letter/a/ccd318/32.png) [@abysssick](https://answers.netlify.com/u/abysssick)\
**Post date:** [July 12, 2023, 11:56pm UTC](https://answers.netlify.com/t/form-submission-issue-in-stateful-reactjs/96573/1 "2023-07-12T23:56:03Z")

</div>

So I have been trying to post form submissions in a stateful react form but after deploying the site and submitting a form It throws the error ‘POST [https://myname.netlify.app/](https://myname.netlify.app/) 404’ in the console.  
Below is my code.

 ![codeSnips123](https://global.discourse-cdn.com/netlify/original/3X/c/a/ca1a50e3bc0ad2f96eee7a53166de62c559dffda.jpeg)

---

<div class="post-metadata">

**Author:** ![nathanmartin](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/nathanmartin/32/30845_2.png) [@nathanmartin](https://answers.netlify.com/u/nathanmartin)\
**Post date:** [July 13, 2023, 12:02am UTC](https://answers.netlify.com/t/form-submission-issue-in-stateful-reactjs/96573/2 "2023-07-13T00:02:29Z")

</div>

@abysssick The relevant support guide is here:

> [@\[Support Guide\] Form problems, form debugging, 404 when submitting](https://answers.netlify.com/t/support-guide-form-problems-form-debugging-404-when-submitting/92):
>
> Last reviewed by Netlify Support in July 2025 sparkles [AskNetlify’s](https://docs.netlify.com/ask-netlify/) Version sparkles Where can I check form submissions on my site? Copy the prompt above and paste it into [AskNetlify](https://docs.netlify.com/ask-netlify/), and it’ll break down this info. You can also ask clarifying questions. Still need help? No problem! We’re happy to clarify. Last reviewed October 2024 Please give these debugging tips a try before making a new post. If none of the suggestions work, please include the requested information that we request…

There’s one very important part when you’re dealing with forms being generataed by JavaScript, you need to ensure that you have a HTML version of the form that Netlify can detect as part of the build process.

That may not be your ultimate issue, but I just wanted to point it out, as I find people can miss it within the support guide.

---

<div class="post-metadata">

**Author:** ![abysssick](https://avatars.discourse-cdn.com/v4/letter/a/ccd318/32.png) [@abysssick](https://answers.netlify.com/u/abysssick)\
**Post date:** [July 14, 2023, 10:35am UTC](https://answers.netlify.com/t/form-submission-issue-in-stateful-reactjs/96573/3 "2023-07-14T10:35:06Z")

</div>

Thank you, sir. It works!

---

<div class="post-metadata">

**Author:** ![SamO](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/samo/32/41847_2.png) [@SamO](https://answers.netlify.com/u/SamO)\
**Post date:** [July 14, 2023, 4:39pm UTC](https://answers.netlify.com/t/form-submission-issue-in-stateful-reactjs/96573/4 "2023-07-14T16:39:56Z")

</div>

glad to hear you found your solution!
