Unable to add a separate page as an error page

I deployed error.mydomain.com to Cloudflare Pages and registered a custom page address to be displayed when the origin cannot be reached, but the following error occurred and I was unable to register it. What should I do? A ::CLOUDFLARE_ERROR_500S_BOX:: The token was not detected on the error page and must be added before this page can be integrated into Cloudflare.
2 Replies
Walshy
Walshy7d ago
you need ::CLOUDFLARE_ERROR_500S_BOX:: on the page
shun
shunOP7d ago
Thank you for your response. I tried writing ::CLOUDFLARE_ERROR_500S_BOX:: directly before the body tag, but the following error still appeared. A ::CLOUDFLARE_ERROR_500S_BOX:: The token was not detected on the error page and must be added before this page can be integrated into Cloudflare. Is there a specific location or tag where it needs to be inserted? It was due to BasicAuth. Thank you very much.

Did you find this page helpful?