Block IP/Country Custom Page

I placed a simple html text like below and upload the page onto my server. I placed it in the Block IP/Country custom page, and when I preview it, it says:

Custom error preview failed

Status code 500 received while fetching template from …

5XX Level Errors page

5XX Level Errors

::CLOUDFLARE_ERROR_500S_BOX::

Also when I click on publish it says:

“Your custom page must be larger than 100 characters (Code: 1203)”

Its more than 100 characters including : // also.

I am afraid the error says it all regarding the characther length.

Be sure to check your HTML code with https://validator.w3.org/ too.

I believe you would need to have HTML and CSS code written and not using it as external resource, if so.

Give yourself a freedom. Be creative about it :wink:

1 Like

I’ve seen others get this same message when clearly there were more than 100 characters.

https://community.cloudflare.com/search?q=1203

This topic was automatically closed after 29 days. New replies are no longer allowed.

Are you still encountering this issue, @fritexvz? What steps have you taken?

Troubleshoot common custom pages issues

Custom error page size

Your custom error page cannot be blank and cannot exceed 1.43 MB. To avoid exceeding the custom error page limit, download collapsify to test your page 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.
  • Make sure that you are serving the custom error page with an HTTP 200 status code.