Hi, I have ‘Push “Manually Blocked” IPs to Cloudflare and ‘Push temporary blocks (WAF, Login attempts, etc.) to Cloudflare’ checked in settings but I am seeing a number of error logs eg: ‘Cloudflare Block Failed for 43.1XX.110.104: Cloudflare Error: Authentication error’ , ‘Cloudflare Block Failed for 34.122.1XX.229: Cloudflare Error: Authentication error’ though I have created and added an API token (which verifies ok) and the Zone ID to my settings in Advanced IP Blocker?
This error usually happens when the API Token is valid (so the “Verify” button turns green) but it lacks the specific permission to modify the Firewall rules for your Zone.
Please try regenerating the token with these exact steps to ensure it has the “Write” capability:
Go to Cloudflare Dashboard > My Profile > API Tokens.
Click Create Token > Create Custom Token (at the bottom).
Permissions: (This is the critical part)
Zone > Firewall Services > Edit
(Optional): Zone > Zone > Read
Zone Resources:
Include > Specific zone > Select your domain.
If you used a pre-made template (like “Edit Zone DNS” or “WordPress”), it might not have the “Firewall Services” permission enabled by default.
Also, please double-check that the Zone ID you pasted matches exactly the one on your Cloudflare Overview page for that specific domain (sometimes users with multiple domains mix them up).