You are currently reviewing an older revision of this page.

There is no valid CSRF token in this request

Symptoms

When navigating throughout an Appian environment using Apache as a web server, users may see the following error in the application server log:

WARN com.appiancorp.security.csrf.CsrfTokenManager - There is no valid CSRF token in this request [URI=/suite/framework/backgroundAction.none]

Cause

Appan uses CSRF cookies that need to be accessible via JavaScript. Users may see the error if their Apache web server has been configured to set cookies to HttpOnly due to security policies of their organization. If so, the CSRF cookies don't work.

Action

By default, the Apache Web Server should not be setting cookies to HttpOnly. Please consult your web server admins to see if this setting is in place in the httpd.conf file and request a change back to the default settings as laid out in the Appian documentation here: https://docs.appian.com/suite/help/18.1/Configuring_Apache_Web_Server_with_JBoss.html

Affected Versions

This article applies to all versions of Appian using Apache as a web server.

Last Reviewed: May 2018