HTTP 414 URI Too Long is a client error response status code indicating that the requested URL exceeds the maximum length accepted by the server. This usually happens when too much data is sent via the URL.
URLs have length limits enforced by browsers, servers, and proxies. When a request URI is longer than what the server allows, it rejects the request with status code 414.
// Example of an excessively long GET request URL
GET /search?q=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa HTTP/1.1
Host: example.com
The server rejects the request and responds with:
// Server response for an oversized URI
HTTP/1.1 414 URI Too Long
Content-Type: text/html
The diagram below illustrates how URL size grows as query parameters increase.
Click "Add Data" to simulate a growing URL. Watch the server limit (red line).