1. Home
  2. Docs
  3. Coins Marketcap
  4. Nonce validation failed

Nonce validation failed

Our plugin Coins Marketcap utilizes a security feature from WordPress known as a Nonce.

A nonce, which stands for “number used once,” is a randomly generated code by WordPress every 48 hours, which is transmitted alongside the request. Subsequently, the server endeavors to authenticate this code. If the validation fails, an error message will displayed :

Please exclude this page from your cache plugin, as it is currently causing a 
nonce failure.

In the case of using a caching plugin, it’s possible that the plugin stores the nonce code and then sends an expired one to the server.

To rectify this issue, we propose two solutions:

  1. Exclude the page containing your crypto widget from being cached.
  2. Reduce the cache duration to 24 hours.

Guidance regarding the exclusion of pages within commonly utilized caching plugins: