505 HTTP Version Not Supported

HTTP 505 HTTP Version Not Supported is a 5xx server error status. The server does not support the HTTP version in the request.

505Status code
5xxServer error
NoCacheable by default
RFC 9110 §15.6.6Defined in

Common causes

What to do

Use HTTP/1.1, HTTP/2 or HTTP/3.

Example response

HTTP/1.1 505 HTTP Version Not Supported
Content-Type: application/problem+json

{"status":505,"title":"HTTP Version Not Supported"}

Returning 505 in code

Express   res.status(505).json({ … });
Flask     return jsonify(…), 505
PHP       http_response_code(505);
Go        w.WriteHeader(505)
nginx     return 505;

Other 5xx codes

Frequently asked questions

What does HTTP 505 mean?
The server does not support the HTTP version in the request.
Is 505 an error?
Yes. It is a server error: the request may be fine and the problem lies on the server or an upstream service.
Does a 505 hurt SEO?
If search engines see it repeatedly on pages that should rank, those pages can be dropped from the index. Fix it quickly.