[38;5;215m[1m@[0m[1mhttp[0m [2m· HTTP status codes, explained[0m [38;5;215m[1mHTTP/1.1 431 Request Header Fields Too Large[0m [38;5;215m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━[0m [2m4xx · Client error[0m The headers, or one header, are too big. [38;5;215m[1mWHAT IT MEANS[0m [2m────────────────────────────────────────────────────────────[0m The server won't process the request because its headers are too large, either all together or one in particular. [38;5;215m[1mWHY YOU'RE SEEING IT[0m [2m─────────────────────────────────────────────────────[0m [38;5;215m→[0m Too many or too large cookies for the domain. [38;5;215m→[0m Huge Authorization tokens, such as JWTs with many claims. [38;5;215m→[0m Headers forwarded and duplicated by several proxies. [38;5;215m[1mHOW TO FIX IT[0m [2m────────────────────────────────────────────────────────────[0m [38;5;215m→[0m Clear the site's cookies in the browser. [38;5;215m→[0m Keep tokens and cookies small, and store session data on the server. [38;5;215m→[0m Raise the server's limit, such as Node's --max-http-header-size. [38;5;215m[1mEXAMPLE RESPONSE[0m [2m─────────────────────────────────────────────────────────[0m [38;5;215mHTTP/1.1 431 Request Header Fields Too Large[0m [2mContent-Type: text/html[0m [2m[0m [2m