Error Code Portal
CloudflareCloudflare HTTP errorsError code

1037

Error 1037: Invalid rewrite rule (failed to evaluate expression)

Alternative forms: Error 1037

Code 1037 · An issue reported by Cloudflare HTTP errors.

This error indicates that the rewrite rule expression could not be evaluated. There are several causes for this error, but it can mean that one expression element contained an undefined value when it was evaluated.

Troubleshooting and diagnostic links

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