Entry Form doesn't save the entry and goes to 404 page I have a frontend Entry Form that will not save an entry and goes to a 404 page.

Basically i have this:

&lt;form method="post" accept-charset="UTF-8" enctype="multipart/form-data" class="add-a-resource__form"&gt;
{{ getCsrfInput() }}
&lt;input type="hidden" name="action" value="entries/saveEntry"&gt;
&lt;input type="hidden" name="redirect" value="/resources/thank-you"&gt;
&lt;input type="hidden" name="sectionId" value="4"&gt;
&lt;input type="hidden" name="enabled" value="1"&gt;
&lt;input type="hidden" name="typeId" value="4"&gt;
&lt;input type="hidden" name="fields[topContent]" value="test"&gt;
&lt;/form&gt;


And in the log in the session array i have:

'9df612913c35fa7bdbde58405537f412__timeout' =&gt; 1479139200,
  '9df612913c35fa7bdbde58405537f412Yii.CWebUser.flash.error' =&gt; 'Couldn’t save entry.',
  '9df612913c35fa7bdbde58405537f412Yii.CWebUser.flashcounters' =&gt; 
  array (
    'error' =&gt; 0,
  ),


I am logged in as an admin so have permission to write to the channel, the details are right in the hidden fields, but when i submit the form, it goes to a 404 page no matter what i put in the redirect input.

Any ideas?
Right, the issues was that there was a validation error on a field, but the form didn't reload and display those errors, it just went to a 404 page.