The HTTP version used in the request is not supported by the server.
505 HTTP Version Not Supported is rare. Modern servers handle HTTP/1.0, HTTP/1.1, HTTP/2, and HTTP/3 ubiquitously. 505 mostly shows up for very old HTTP/0.9 clients hitting modern servers, or for handcrafted requests with malformed version strings.
When servers should return it: Return 505 when a request specifies an HTTP major version the server does not implement.
HTTP/1.1 505
content-type: text/plain
HTTP version not supported
For a one-page reference of all HTTP status codes, see the HTTP cheat sheet. For testing API responses, try the API Tester tool. For inspecting responses on the command line, the curl cheat sheet covers the most common flags.