Client Error · 4xx

414 URI Too Long

The URL is longer than the server is willing to interpret.

What 414 URI Too Long means

414 URI Too Long means the request line (the URL with all query parameters) exceeds the server's parsing buffer. Typical limits are 4KB-8KB. This usually happens when GET requests are used to send what should be a POST body: large lists in query strings, encoded binary data in URLs, or query-string explosion from chained tracking parameters. The fix is almost always to switch to POST.

When servers should return it: Return 414 when the request URI exceeds the server's configured maximum.

Common causes

How to fix 414 URI Too Long

Example response

HTTP/2 414
content-type: text/plain
URI too long

Related status codes

Frequently Asked Questions

What is the typical URL length limit?
IE caps at 2KB, modern browsers handle 8KB+, most servers default to 4-8KB.
Should search use GET or POST?
Use GET for short queries (cacheable, bookmarkable). Use POST for very large or sensitive search bodies.
Defined in: RFC 9110 · Class: 4xx Client Error

More references

For a one-page reference of all HTTP status codes, see the HTTP cheat sheet. For testing API responses, try the API Tester tool. For inspecting responses on the command line, the curl cheat sheet covers the most common flags.