# Access forbidden - CSRF check failed

**URL:** <https://help.nextcloud.com/t/access-forbidden-csrf-check-failed/99424>\
**Category:** ℹ️ Support\
**Created:** [November 26, 2020, 4:04pm UTC](https://help.nextcloud.com/t/access-forbidden-csrf-check-failed/99424 "2020-11-26T16:04:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anto](https://help.nextcloud.com/letter_avatar/anto/32/6_22734026db12803ebb3e059622ac3534.png) [@anto](https://help.nextcloud.com/u/anto)\
**Post date:** [November 26, 2020, 4:04pm UTC](https://help.nextcloud.com/t/access-forbidden-csrf-check-failed/99424/1 "2020-11-26T16:04:09Z")

</div>

> **Support intro**
>
> Sorry to hear you’re facing problems 🙁
> 
> _**[help.nextcloud.com](http://help.nextcloud.com) is for home/non-enterprise users. If you’re running a business, paid support can be accessed via [portal.nextcloud.com](http://portal.nextcloud.com) where we can ensure your business keeps running smoothly.**_
> 
> In order to help you as quickly as possible, before clicking **Create Topic** please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
> 
> ```
> example
> 
> ```
> 
> Or for longer, use three backticks above and below the code snippet:
> 
> ```auto
> longer
> example
> here
> 
> ```
> 
> Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can ❤

Nextcloud version: _20.0.2.2_  
Operating system and version: _Devuan 3 (Beowulf)_  
Nginx version: _1.18.0_  
PHP version: _7.3.19_

The issue you are facing:

I occasionally get the error on the login window which says the following:

 ![Access_forbidden_CSRF_check_failed](https://help.nextcloud.com/uploads/default/original/3X/2/1/212113c1e6b95ec8e847b30188c8926affa4c1f0.jpeg)

Is this the first time you’ve seen this error? _N_

Steps to replicate it:

1. Login to Nextcloud
2. After some time, logout
3. Error is shown on the login window

The output of your Nextcloud log in **Admin \> Logging** :

```auto
Nothing

```

The output of your config.php file in `/path/to/nextcloud` (make sure you remove any identifiable information!):

```auto
It maybe not relevant as it never happened on Nextcloud 19.0.3. But I can provide it later on if necessary.

```

The output of your Apache/nginx/system log in `/var/log/ ____ `:

```auto
Nothing

```

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 7:46pm UTC](https://help.nextcloud.com/t/access-forbidden-csrf-check-failed/99424/2 "2024-12-12T19:46:34Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 12, 2024, 7:46pm UTC](https://help.nextcloud.com/t/access-forbidden-csrf-check-failed/99424/3 "2024-12-12T19:46:36Z")

</div>


