Skip to the content

505 HTTP Version Not Supported

The server doesn't support, or refuses to use, the major version of HTTP that the request was made with.

Class
5xx Server error. The request may have been fine, but the server failed to fulfil it.
Defined in
RFC 9110

Share this tool:TwitterFacebookLinkedInWhatsAppEmail

What causes it

Hardly ever with a real browser. It mostly turns up when the first line of a request is malformed so that the server reads something else as the version. A space in the address that wasn't encoded is the classic cause: the text after the space lands where the version should be. Clients written by hand that send an unknown version get it too.

What to do about it

Check the first line of the request. Encode spaces in the address as %20, and let an HTTP library build the request. If the request is right, the server really is too old or too strict for that version, and the client has to fall back on HTTP/1.1.

Not to be confused with

426 Upgrade RequiredThe server asks for another protocol and names it in an Upgrade header.
400 Bad RequestThe more usual answer to a malformed first line.

All codes are on the list of HTTP status codes, which can be searched by number and by word.

See all 12