Evander
CDCloudflare Developers
•Created by Evander on 5/14/2025 in #pages-help
Specific error-token for WAF Block custom pages
Page: https://9a66421b.wafblock-dgf.pages.dev/
Error: no exactly an error.
Hi, I want to create a custom page or custom error page for the WAF Block Category but I didnt find a specific error-token for this category, the only available are:
::CAPTCHA_BOX:: Interactive Challenge
Country Challenge (Managed Challenge)
Managed Challenge / I'm Under Attack Mode (Interstitial Page)
::IM_UNDER_ATTACK_BOX:: JS Challenge
::CLOUDFLARE_ERROR_500S_BOX:: 5XX Errors
::CLOUDFLARE_ERROR_1000S_BOX:: 1XXX Errors
I´ve tried all of this tokens but none of them show me the info as the 5xx and 1xxx, they usually show a description of the error and this info:
Ray ID: 000000000000000
Your IP address: 0.0.0.0
Error reference number: 522
Cloudflare Location: San José
So, I dont know if theres a token for the WAF Block, or if the WAF Block category is supposed to show info about the blocking reason.
Actually, the page I provided, I didn´t include any token, but as I said I dont know if WAF Block category is supposed to show any info.
1 replies