Error Code Portal
CloudflareCloudflare HTTP errorsError code

1041

Error 1041: Invalid request rewrite (invalid header value)

Alternative forms: Error 1041

Code 1041 · An issue reported by Cloudflare HTTP errors.

This error indicates that the header value is not valid. The added/modified header value is too long or it contains characters that are not allowed.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.