Title: CF Auth error using API Token
Last modified: October 31, 2024

---

# CF Auth error using API Token

 *  Resolved [juret](https://wordpress.org/support/users/juret/)
 * (@juret)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/cf-auth-error-using-api-token/)
 * Hi.
 * Out of many sites I have two, which uses tokens for CloudFlare Authentication.
 * Looks like they can no longer connect to CF. Error: Authentication error (err
   code: 10000)
 * Permissions of a token:
   [https://wordpress.org/support/topic/exact-permissions-for-apikey/](https://wordpress.org/support/topic/exact-permissions-for-apikey/)
 * Debug log:
   [2024-10-31 12:26:26] [cloudflare::change_browser_cache_ttl_cache]
   Request URL: [https://api.cloudflare.com/client/v4/zones/xxxxxxxxxxx/settings/browser_cache_ttl](https://api.cloudflare.com/client/v4/zones/xxxxxxxxxxx/settings/browser_cache_ttl)[
   2024-10-31 12:26:26] [cloudflare::change_browser_cache_ttl_cache] Request body:{“
   value”:0}[2024-10-31 12:26:28] [cloudflare::create_ruleset_cache] Could NOT create
   ruleset ID for zone 1e02d0109cca41773f7038d95c269aed – URL: [https://api.cloudflare.com/client/v4/zones/xxxxxxxxxxx/rulesets](https://api.cloudflare.com/client/v4/zones/xxxxxxxxxxx/rulesets)[
   2024-10-31 12:26:28] [cloudflare::update_cache_rule_if_diff] Cloudflare API is
   not enabled or cache rule is not set. Enabled: 1 Rule set:What could be the problem
   here?

Viewing 1 replies (of 1 total)

 *  Thread Starter [juret](https://wordpress.org/support/users/juret/)
 * (@juret)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/cf-auth-error-using-api-token/#post-18107008)
 * Found my answer here:
 * [https://wordpress.org/support/topic/page-cache-rules-not-getting-created/](https://wordpress.org/support/topic/page-cache-rules-not-getting-created/)
 * > You also need to give access to Zone – Cache Rules – Edit in your authentication
   > token.
 * This permission is missing on the list in the reply [here](https://wordpress.org/support/topic/exact-permissions-for-apikey/).
 * This list of permissions is so important that it should be included in the FAQ
   in the plugin settings if there is no other documentation (imho).

Viewing 1 replies (of 1 total)

The topic ‘CF Auth error using API Token’ is closed to new replies.

 * ![](https://ps.w.org/wp-cloudflare-page-cache/assets/icon-256x256.gif?rev=3234997)
 * [Super Page Cache – Cloudflare Cache, Page Speed & Core Web Vitals](https://wordpress.org/plugins/wp-cloudflare-page-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cloudflare-page-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cloudflare-page-cache/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [juret](https://wordpress.org/support/users/juret/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/cf-auth-error-using-api-token/#post-18107008)
 * Status: resolved