# CSRF Token on mydomain.mautic.net is invalid

**URL:** <https://forum.mautic.org/t/csrf-token-on-mydomain-mautic-net-is-invalid/9821>\
**Category:** Product Support\
**Created:** [November 1, 2017, 1:06pm UTC](https://forum.mautic.org/t/csrf-token-on-mydomain-mautic-net-is-invalid/9821 "2017-11-01T13:06:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Muphisto](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@Muphisto](https://forum.mautic.org/u/Muphisto)\
**Post date:** [November 1, 2017, 1:06pm UTC](https://forum.mautic.org/t/csrf-token-on-mydomain-mautic-net-is-invalid/9821/1 "2017-11-01T13:06:57Z")

</div>

Hello!  
  
Still get the CSRF Token error, but it is not on our domain, but on Mautics. If I want to add field in new forms or e-mails on [mydomain.mautic.net](http://mydomain.mautic.net), I constantly receive CSRF Token is Invalid. I’ve read the previous discussions, but none are solving this issue.  
  
Can someone help me with this one?

---

<div class="post-metadata">

**Author:** ![Muphisto](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@Muphisto](https://forum.mautic.org/u/Muphisto)\
**Post date:** [November 1, 2017, 1:06pm UTC](https://forum.mautic.org/t/csrf-token-on-mydomain-mautic-net-is-invalid/9821/2 "2017-11-01T13:06:57Z")

</div>

Hello!  
Still get the CSRF Token error, but it is not on our domain, but on Mautics. If I want to add field in new forms or e-mails on [mydomain.mautic.net](http://mydomain.mautic.net), I constantly receive CSRF Token is Invalid. I’ve read the previous discussions, but none are solving this issue.  
Can someone help me with this one?

---

<div class="post-metadata">

**Author:** ![brasofilo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/brasofilo/32/4415_2.png) [@brasofilo](https://forum.mautic.org/u/brasofilo)\
**Post date:** [February 3, 2021, 3:11am UTC](https://forum.mautic.org/t/csrf-token-on-mydomain-mautic-net-is-invalid/9821/3 "2021-02-03T03:11:10Z")

</div>

Solution:

> [@Cannot reset password - The CSRF token is invalid. Please try to resubmit the form.](https://forum.mautic.org/t/cannot-reset-password-the-csrf-token-is-invalid-please-try-to-resubmit-the-form/9073/4):
>
> Hello! Please have a look at your files and folders permissions. I have this exactly problem in the past and I solve runing the following command at the webserver directory: chown XXXXXX:XXXXXX . -R find . -type d -exec chmod 755 {} \; find . -type f -exec chmod 644 {} \; PS: Please change the XXXXXX acording to your setup. Best regards,
