---
title: Error 1036 · Cloudflare Support docs
description: This error indicates that the rewritten URI path or query string
  exceeds the maximum allowed length.
lastUpdated: 2025-05-14T13:30:35.000Z
chatbotDeprioritize: false
source_url:
  html: https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-1xxx-errors/error-1036/
  md: https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-1xxx-errors/error-1036/index.md
---

## Error 1036: Invalid request rewrite (maximum length exceeded)

This error indicates that the rewritten URI path or query string exceeds the maximum allowed length.

### Common cause

The value or expression of your rewritten URI path or query string is too long.

### Resolution

Use a shorter value or expression for the new URI path/query string value.
