This is the best article to walk through on debugging why your form doesn’t work:
Specifically a 404 probably means we did not find a form with that action configured (/thanks) or a different name= parameter in the HTML version of the form that we detect and key off of for use at deploy time.
So hopefully that’ll help you pinpoint the problem and get it fixed, but let us know if not.