Body: <p>I took the example form of the craft CMS <a href="https://docs.craftcms.com/v3/dev/examples/entry-form.html" rel="nofollow noreferrer">Entry Form Documentation page</a> and tried to use it on a test site.
  However i always get a HttpException after submitting the Frontend Form.</p>
  
  <p><a href="https://pastebin.com/gnsR7Lb6" rel="nofollow noreferrer">Here's</a> the Stack Trace.</p>
  
  <p>And a <a href="https://i.sstatic.net/D3IRn.jpg" rel="nofollow noreferrer">Screenshot</a> of the Error page</p>
  
  <p>Here's the code</p>
  
  <pre><code>&lt;form method="post" accept-charset="UTF-8"&gt;
    {{ csrfInput() }}
    {{ actionInput('entries/save-entry') }}
    {{ redirectInput('viewentry/{slug}') }}
    {{ hiddenInput('sectionId', entry.sectionId) }}
    {{ hiddenInput('enabled', '1') }}
    {{ hiddenInput('entryId', entry.id) }}
  
    &lt;label for="title"&gt;Title&lt;/label&gt;
    &lt;input id="title" type="text" name="title"
        {%- if entry is defined %} value="{{ entry.title }}"{% endif -%}&gt;
  
    {% if entry is defined %}
        {{ _self.errorList(entry.getErrors('title')) }}
    {% endif %}
  
    &lt;input type="submit" value="Publish"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>It's a multi-site with 3 languages. So maybe its related to the languages.
  But i couldn't find any informations for a frontend form in multi-sites.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-11-28T11:19:27.747Z
Comments.Text: `The user submitting the entry will also need to have the permission necessary to create entries for the section they are posting to.` (https://docs.craftcms.com/v3/dev/examples/entry-form.html), did you already check this?
Comments.UserDisplayName: Romain P.
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-11-28T11:25:14.700Z
Comments.Text: @RomainPoirier well i only tested it myself and i am the admin so it should work.
Comments.UserDisplayName: creme
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-11-28T11:27:53.833Z
Comments.Text: Did you set the `enableCsrfProtection` setting to `true` in the `config/general.php` file?
Comments.UserDisplayName: Romain P.
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-11-28T11:48:13.013Z
Comments.Text: @RomainPoirieryes CsrfProtection is enabled
Comments.UserDisplayName: creme
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-11-28T16:24:21.223Z
Comments.Text: Please double check if you are logged in using a user with required permissions while posting the form, because as seen on your screenshot Craft CMS supposes that you made this action as a guest, not a logged in user.
Comments.UserDisplayName: Romain P.
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-05T15:20:45.503Z
Comments.Text: This is really strange. I was logged in but in chrome this error popped up all the time. It's working in Firefox now. Thanks anyway
Comments.UserDisplayName: creme
Tags: <form><frontend><frontend-form>
Title: Frontend Form for editing entries HTTP Exception
ThreadText: # Frontend Form for editing entries HTTP Exception
  
  (Asked by: username_0 on 2019-11-27)
  
  I took the example form of the craft CMS [Entry Form Documentation page](https://docs.craftcms.com/v3/dev/examples/entry-form.html) and tried to use it on a test site.
  However i always get a HttpException after submitting the Frontend Form.
  
  [Here's](https://pastebin.com/gnsR7Lb6) the Stack Trace.
  
  And a [Screenshot](https://i.sstatic.net/D3IRn.jpg) of the Error page
  
  Here's the code
  
  ```
  <form method="post" accept-charset="UTF-8">
    {{ csrfInput() }}
    {{ actionInput('entries/save-entry') }}
    {{ redirectInput('viewentry/{slug}') }}
    {{ hiddenInput('sectionId', entry.sectionId) }}
    {{ hiddenInput('enabled', '1') }}
    {{ hiddenInput('entryId', entry.id) }}
  
    <label for="title">Title</label>
    <input id="title" type="text" name="title"
        {%- if entry is defined %} value="{{ entry.title }}"{% endif -%}>
  
    {% if entry is defined %}
        {{ _self.errorList(entry.getErrors('title')) }}
    {% endif %}
  
    <input type="submit" value="Publish">
  </form>
  
  ```
  
  It's a multi-site with 3 languages. So maybe its related to the languages.
  But i couldn't find any informations for a frontend form in multi-sites.
  
  **Tags:** form, frontend, frontend-form
  
  > **Comments:**
  > **username_1**: `The user submitting the entry will also need to have the permission necessary to create entries for the section they are posting to.` (https://docs.craftcms.com/v3/dev/examples/entry-form.html), did you already check this?  
  > **username_0**: @RomainPoirier well i only tested it myself and i am the admin so it should work.  
  > **username_1**: Did you set the `enableCsrfProtection` setting to `true` in the `config/general.php` file?  
  > **username_0**: @RomainPoirieryes CsrfProtection is enabled  
  > **username_1**: Please double check if you are logged in using a user with required permissions while posting the form, because as seen on your screenshot Craft CMS supposes that you made this action as a guest, not a logged in user.  
  > **username_0**: This is really strange. I was logged in but in chrome this error popped up all the time. It's working in Firefox now. Thanks anyway  
  
  ---
  
  ## 0 answers
  
  