Support » Plugin: GDPR » Error : We could not verify the security token

  • Hi,

    I’ve noticed that on mobile the Accept button does not work, and when I check this in the Chrome inspect console I see this error appear.

    I checked previous threads on this and saw that caching could affect, however this happens with or without caching.

    We use WP fastest cache.

    It doesn’t seem to matter if I’m logged in or not.

    Have you found a solution for this issue that we could apply?

    Thank you

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Fernando Claussen


    I’m still looking at how to fix this.

    It the same here, but we don’t use WP fastest cache but W3 Total cache…

    Same here. I’m running into the error on a fresh browser + not logged in. However, this issue doesn’t happen if I am logged in.

    I do have WP Fastest Cache (Free version) installed..

    Actually, I think I found the fix for WP Fastest Cache.

    In the settings, to go the Exclude tab. In Exclude JS, Add New Rule for If JS URL Contains gdpr-public

    The exclude rule will look like this:*)gdpr-public(.*)

    Then Delete Cache. Users should now be able to submit consent without the security token error. đŸ™‚


    I’m confused, I assume I fill in my domain name where it says domain name, but what do I do with the (.*)?


    I used this solution. You only need to enter your domain. That’s it.*)gdpr-public(.*)

    Same in Cachify. It’s terrible, we cant’t use any cache because the token is included into cache. Is there no way to exclude an area like GDPR Token from caching? The rest of areas must be cached otherwise WordPress is to slow.



    I’ve the same html message: ‘We could not verify the security token. Please try again’ generated from other GDPR plugin, and show when a pubic user (not logged), save the privacy preferences.

    I’ve deleted the Cache plugin but by disabling all plugins and reactivating them one by one, I discovered that in my case the problem is conflit with:
    WooCommerce PayPal Checkout Payment Gateway’ plugin.



    I’ve found during testing that depending on the setup, it is likely necessary a must to exclude gdpr-public.js and gdpr-public.css from the scripts optimizations and to disable security cookie scan/sanitization in firewall(wp) and this plugin will work.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Error : We could not verify the security token’ is closed to new replies.