Troubleshoot Error Pages issues · Cloudflare Rules docs | Latest TMZ Celebrity News & Gossip | Watch TMZ Live Skip to content
Cloudflare Docs

Troubleshoot Error Pages issues

Cannot preview error page

If Cloudflare cannot load your site or you have blocked the United States (US) via IP Access rules or WAF custom rules, publishing and previewing a custom error page might not work.

A common error might look like the following: Error fetching page: Fetch failed, https://example.com/ipcountryblock.html returned 403 (Code: 1202).

Make sure that no WAF rule is blocking or challenging Custom Errors product when it is fetching the content of your custom error page.

Error pages for blocked requests

If you block countries or IP addresses with an IP Access rule, affected visitors will get a 1005 error and your IP/Country Block custom page.

If you block countries or IP addresses with a WAF custom rule and you do not configure a custom error rule or a WAF custom response for blocked requests, affected visitors will get your WAF Block page.

If you block requests due to a rate limiting rule and you do not configure a custom error rule or a WAF custom response for blocked requests, affected visitors will get your 429 Errors page displaying a Cloudflare 1015 error.

If you block countries or IP addresses with a firewall rule (now deprecated), affected visitors will get your 1000 Class Errors page.

1XXX errors

You cannot customize the following 1XXX errors via Error Pages:

  • 1001 - Unable to resolve
  • 1003 - Bad Host header
  • 1018 - Unable to resolve because of ownership lookup failure
  • 1023 - Unable to resolve because of feature lookup failure

Custom error page size

Your custom error page cannot be blank and the combined size of all page assets cannot exceed 1.5 MB (1,500,000 characters). To avoid exceeding the custom error page limit, preview your page to check its size before publishing.

General troubleshooting advice

If you encounter errors while attempting to preview or publish your custom error page, use an HTML validator to ensure that your code resolves properly.

More resources

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.