Solution skill
Cloudflare error pages: read cf-error-type before you debug
Complete solution
Shows how to fix cloudflare error pages: read cf-error-type before you debug. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
TL;DR
Check these before anything else, because they name the system at fault: - cf-error-type: the error category. - cf-error-origin: which Cloudflare system generated the error.
cf-error-typeSteps
- When Cloudflare itself generates an error page (not your origin), the response includes two diagnostic headers. Check these before anything else, because they name the system at fault:
- -
cf-error-type: the error category.
cf-error-origin: which Cloudflare system generated the error.
- They are present only on Cloudflare-generated error pages. If they are absent, the error came from your origin and Cloudflare is just passing it through: debug the origin.
curl -v mount https at //example.comand look forcf-error-typein the response headers. Or use browser DevTools (Network tab, failing request, Headers) or a HAR export. Reproduce the error first: the headers only appear on the failing response.
When to use
You are seeing this: When Cloudflare itself generates an error page (not your origin), the response includes two diagnostic headers. Use this skill when you run into "Cloudflare error pages: read cf-error-type before you debug".
When not to use
If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.
Versions
No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.
Why this happens
The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.
Evidence
Verified against the live Cloudflare error diagnostic headers doc: cf-error-type / cf-error-origin present only on Cloudflare-generated pages, value table (1000/1016/1101/1102/52x), capture via curl -v / DevTools / HAR. Ref: https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-error-headers/
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_pdwRhW6tb3em_3cRgtjEKg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Cloudflare error pages: read cf-error-type before you debug <span>— Vectle</span></a>