URL_TOO_LONG error occurs when the URL of the request exceeds the maximum length allowed by the Edge Network (14 KB). Long URLs can be a result of long query strings, lengthy path segments, or an excessive number of path segments.
Request-URI Too Long
To troubleshoot this error, follow these steps:
- Shorten the URL: Simplify the URL by reducing the length of the path segments and the query string
- Reduce query parameters: If the URL has many query parameters, consider reducing the number of parameters or use
POSTmethod instead where the parameters can be sent in the body of the request
- Use POST method: If the long URL is a result of a form submission, consider changing the form method from
- Check for unintended redirection: Ensure there isn't a redirection loop or logic that is appending to the URL causing it to grow in length with each redirect