414 URI Too Long

The request target is longer than the server is willing to interpret.

Status

HTTP/1.1 414 URI Too Long

Details

There is no limit on URL length in the HTTP specification, but every implementation picks one. Browsers, proxies, and servers all differ, with common server limits around 8KB for the whole request line and header block.

The usual cause is a GET where a POST belongs: filters, search state, or a serialized object pushed into the query string until it overflows. It can also result from a redirect loop that appends parameters on every hop.

Common causes

How to fix it

As the client

As the server

Examples

GET /search?filters=%7B%22a%22%3A1%7D...(9KB of query string) HTTP/1.1
Host: www.example.com

HTTP/1.1 414 URI Too Long

Specifications

RFC 9110 §15.5.15

See also