- 🇺🇸United States charginghawk
FYI, this can happen with the API rate limit too. If you somehow go over the rate limit by a couple of items, it gets stuck and you get messages like "diagnostics: ERROR: CloudFlare - Api Rate limit check.: Exceeded Api limit of 1203/1200 limit purges/day" or "diagnostics: ERROR: CloudFlare - Api Rate limit check.: Exceeded Api limit of 1202/1200 limit purges/day." You can get these errors for every page load if late runtime processor is enabled. (Also there's a typo, it should say "1200 limit purges/5 min".) You can run this to reset the API rate:
drush eval '\Drupal::service("cloudflare.state")->incrementApiRateCount();'
- First commit to issue fork.
- 🇩🇪Germany SteffenR Germany
Just checked the latest 2.0.x-dev release.
The changes are already applied. Sorry for the new branches accidently created (they can be deleted).. - 🇮🇳India tdnshah
I was facing the issue with API rate limit as mentioned in #13 and running the drush command
drush eval '\Drupal::service("cloudflare.state")->incrementApiRateCount();'
as shared by @charginghawk did reset the API rate Thank you @charginghawk for sharing the same.@SteffenR as mention that this things are covered and fixed in 2.0.x-dev release branch does it also resolved the issue for API Rate limit or should we create another issue for the same and create patch against 2.0.x-dev branch?
Thank you
- Status changed to Closed: duplicate
27 days ago 8:56pm 9 June 2025 - 🇺🇸United States charginghawk
As mentioned, this was resolved with ✨ Proposal to switch Cloudflare library Fixed and users should update to the 2.0.x version of the module:
https://git.drupalcode.org/project/cloudflare/-/commit/3682c8d6bc06ff272...
If you encounter the API limit (separate from the cache tag purge limit), that has its own issue which is ready for review:
🐛 Over 1200 API call limit not reset after 5 minutes Needs review