<p>Craft 3 uses kebab-case paths instead of camelCase paths
Your action parameter must be <code>entries/save-entry</code></p>
<p>Its all stated in the <a href="https://craftcms.com/docs/3.x/upgrade.html#action-params" rel="nofollow noreferrer">docs</a></p>
<p>Edit: generally a good idea is to inspect the html in your cp form and copy it to your frontend. You'll be able to solve 90% of your issues that way</p>

CC BY-SA 4.0
2021-10-12T10:15:16.323Z
Link is dead...
Honsa Stunna
CC BY-SA 4.0
2021-10-13T07:04:15.320Z
Thank you - I replaced it with the new one
Robin Schambach
CC BY-SA 4.0
2018-01-25T14:55:07.340Z
2021-10-13T07:03:49.590Z
2021-10-13T07:03:49.590Z
Robin Schambach
<p>I am following the documentation for Craft 2 <a href="https://craftcms.com/docs/templating/entry-form" rel="nofollow noreferrer">here</a> to create an entry form on the front end of my website. The form appears correctly on the front end but when I submit it, I get the following error: 
"Page not found.
Caused by: Invalid Route – yii\base\InvalidRouteException
Unable to resolve the request: entries/saveEntry"</p>

<p>Here's my form:</p>

<pre><code>&lt;form method="post" accept-charset="UTF-8"&gt;
    {{ csrfInput() }}
    &lt;input type="hidden" name="action" value="entries/saveEntry"&gt;
    &lt;input type="hidden" name="redirect" value="news/{slug}"&gt;
    &lt;input type="hidden" name="sectionId" value="1"&gt;

    &lt;label for="title"&gt;Title&lt;/label&gt;
    &lt;input id="title" type="text" name="title" value=""&gt;

    &lt;label for="body"&gt;Body&lt;/label&gt;
    &lt;textarea id="body" name="fields[body]" rows="20"&gt;&lt;/textarea&gt;


    &lt;input type="submit" value="Submit"&gt;
&lt;/form&gt;
</code></pre>

<p>Does anyone know where I am going wrong here? The user I am currently using to submit the form is an admin. I realize that the docs I'm following are for Craft 2 but I could not find this form in the Craft 3 docs.</p>

<p>Any help would be appreciated and thanks in advance!</p>

<craft3><entry-form>
Craft 3: Front End Entry Form
# Craft 3: Front End Entry Form

(Asked by: username_0 on 2018-01-25)

I am following the documentation for Craft 2 here to create an entry form on the front end of my website. The form appears correctly on the front end but when I submit it, I get the following error: 
"Page not found.
Caused by: Invalid Route – yii\base\InvalidRouteException
Unable to resolve the request: entries/saveEntry"
Here's my form:

    {{ csrfInput() }}
    
    
    

    Title
    

    Body
    


    


Does anyone know where I am going wrong here? The user I am currently using to submit the form is an admin. I realize that the docs I'm following are for Craft 2 but I could not find this form in the Craft 3 docs.
Any help would be appreciated and thanks in advance!

**Tags:** craft3, entry-form

---

## 1 answers

### Answer by username_1 on 2018-01-25. Score: 8 | Accepted answer

Craft 3 uses kebab-case paths instead of camelCase paths
Your action parameter must be `entries/save-entry`

Its all stated in the [docs](https://craftcms.com/docs/3.x/upgrade.html#action-params)

Edit: generally a good idea is to inspect the html in your cp form and copy it to your frontend. You'll be able to solve 90% of your issues that way

> **Comments:**
> **username_2**: Link is dead...  
> **username_1**: Thank you - I replaced it with the new one  

---

