Error 1041
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.
- Use a shorter value or expression to define the header value.
 - Remove the characters that are not allowed. Refet to Format of HTTP request header names and values in Developer Docs for more information on the allowed characters.
 
Was this helpful?
- Resources
 - API
 - New to Cloudflare?
 - Products
 - Sponsorships
 - Open Source
 
- Support
 - Help Center
 - System Status
 - Compliance
 - GDPR
 
- Company
 - cloudflare.com
 - Our team
 - Careers
 
- 2025 Cloudflare, Inc.
 - Privacy Policy
 - Terms of Use
 - Report Security Issues
 - Trademark