SiteError.comYour friendly guide to HTTP status codes
Status CodesBlog
  1. Home
  2. 5xx Server Error
  3. 505 HTTP Version Not Supported

505 HTTP Version Not Supported

📡
505
HTTP Version Not Supported
⚙️
⚙️

Example HTTP Response

HTTP Response
HTTP/1.1 505 HTTP Version Not Supported
Common Causes
  • Client using outdated HTTP version
  • Server doesn't support HTTP/2 or HTTP/3
  • Protocol version mismatch
Technical Details

What does this mean?

Speaking ancient HTTP! The server doesn't understand your dialect. Time to upgrade your protocol game!

Technical Definition

The HTTP version used in the request is not supported by the server.

RFC Says

"The 505 (HTTP Version Not Supported) status code indicates that the server does not support, or refuses to support, the major version of HTTP that was used in the request message."

Plain English:

505 means 'I don't support the HTTP version you're using.' For example, if a client tries to use HTTP/3 with a server that only supports HTTP/1.1. This is extremely rare in practice since most servers support multiple HTTP versions and negotiate appropriately.

Common Misinterpretation

You'll almost never need to return 505 in modern applications - HTTP version negotiation is handled automatically at the web server level. Don't use 505 for API versioning (like /v1 vs /v2) - that's application-level versioning, not HTTP protocol versioning.

View RFC Documentation
Code Snippets

Ready-to-use code for returning this HTTP status in your application:

Node.js
// Express.js
app.get('/example', (req, res) => {
  res.status(505).json({
    error: 'HTTP Version Not Supported',
    message: 'Your error message here'
  });
});

// Native HTTP
const http = require('http');

http.createServer((req, res) => {
  res.writeHead(505, { 'Content-Type': 'application/json' });
  res.end(JSON.stringify({
    error: 'HTTP Version Not Supported',
    message: 'Your error message here'
  }));
}).listen(3000);

505 HTTP Version Not Supported FAQ

What causes a 505 HTTP Version Not Supported error?

Client using outdated HTTP version. Server doesn't support HTTP/2 or HTTP/3. Protocol version mismatch.

504 Gateway Timeout506 Variant Also Negotiates

Popular Status Codes

  • 200 OK
  • 301 Moved Permanently
  • 302 Found
  • 400 Bad Request
  • 401 Unauthorized
  • 403 Forbidden
  • 404 Not Found
  • 500 Internal Server Error
  • 502 Bad Gateway
  • 503 Service Unavailable

Compare Codes

  • 401 vs 403
  • 301 vs 302
  • 404 vs 410
  • 500 vs 502
  • Compare any codes →

Categories

  • Informational
  • Success
  • Redirection
  • Client Error
  • Server Error
  • NGINX
  • Cloudflare
  • AWS ELB
  • Microsoft IIS

Tools

  • Cheat Sheet
  • Status Code Quiz
  • URL Checker
  • API Playground
  • Blog

© 2026 SiteError.com. All rights reserved.