Community Tip - Fixing CSRF Token Not Valid

Try the suggestions in this Community Tip to help you fix CSRF Token Not Valid.

CSRF Token Not Valid is due to other plugins in your WordPress installation taking the CSRF token before Cloudflare can read it. When this happens, you’ll see the error “CSRF Token Not Valid”.

Quick Fix Ideas

  1. Usually this is solved by turning off all plugins except Cloudflare then enabling them one-by-one and reloading the page. This will then show you the plugin that is causing the issue.

  2. Verify you’re using the correct API key, make sure you’re entering it in the correct location.

  3. If you use infinitewp, see this post.

  4. Try reinstalling the wordpress plugin and verify what other wordpress plugins you are running.

  5. Deactivate any ad blocker you have installed.

  6. Try in incognito mode.

Background Resources

Research The Issue

If You Need More Help
This community of other Cloudflare users may be able to assist you, login to Cloudflare and post your question to the Community. When you post on the Community make sure to include as much of this information as possible: the specific error message you are seeing, the URLs this is happening on, screen shot of the error, and the steps to reproduce the error. Please indicate what troubleshooting steps you’ve tried in order to help us help you.

This is a Cloudflare Community Tip, to review other tips, click here.

Çevirme…traduzir…翻译…traducir…Traduire…Übersetzen…:greyg: Translate this Tip