HTTP 414 URI Too Long

An unusually long strip hangs off a desk beside a compact address reader

HTTP 414 URI Too Long means the recipient refuses the request because the target URI exceeds the length it can interpret. URLs containing a long list of filters or a return address that keeps growing at each redirect can end up here.

Measure the request target

Check the complete path and query as sent, including percent encoding. A large query or an application that appends a nested destination during repeated sign-in redirects can produce a much longer request than the visible path suggests.

Fix the source of the excess length

If the endpoint documents a body-based search or batch method, use it for larger inputs. If each redirect makes the URL longer, fix the redirect rule first. Compare the request received at the gateway and origin to find the restrictive hop. Header field limits are reported separately, for example with 431.

Check whether the URL grew before it hit the proxy

A search page may open normally with /search?tag=books and return HTTP 414 after the client attaches a long encoded filter object. Compare the path and query the client sent with the target logged at the first gateway. Measure the encoded form because characters that take one position in a browser field can occupy several bytes after encoding. Keep session identifiers and other sensitive query values out of shared traces. A short route with a long query can still exceed a URI limit.

Inspect each redirect in a growing chain

A login flow can accidentally insert the previous redirect URL into a new return parameter on every hop. In a browser’s network panel, keep the chain visible and compare the lengths and hosts of successive Location values. For a service you own, correct the return URL handling and confirm that a sign-in sends the user back to the intended page once. Where one proxy layer rejects a legitimate URL, follow the operator’s documented size limit and use the application’s supported method for sending larger search inputs.

RFC 9110.

All HTTP status codes · All proxy testing guides · Open the proxy tester