5xx Server Errors

HTTP 505 HTTP Version Not Supported

The server does not support the HTTP protocol version used in the request.

When is 505 used?

  • Requesting HTTP/3 from server that only supports HTTP/1.1

How to handle a 505 response

The problem is on the server side. Check server and proxy logs, retry idempotent requests with exponential backoff, and alert on sustained 5xx rates.

Check the status code a URL returns from the command line:

curl -s -o /dev/null -w "%{http_code}\n" https://example.com

How to return 505 from your server

Node.js (Express)

res.status(505).json({ message: 'HTTP Version Not Supported' });

Python (Flask)

return {"message": "HTTP Version Not Supported"}, 505

Go (net/http)

w.WriteHeader(505)

Frequently Asked Questions

What does HTTP 505 mean?

505 HTTP Version Not Supported: The server does not support the HTTP protocol version used in the request.

Is 505 an error?

Yes. 505 is in the 5xx Server Errors class. Server errors: the server failed to fulfil an apparently valid request.