HTTPError.net

The fastest way to diagnose, understand, and fix any HTTP status code

505 HTTP Version Not Supported

Fault: Server
TL;DR

Server doesn't support the HTTP version in the request.

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

What HTTP 505 HTTP Version Not Supported Means

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

Server doesn't support the HTTP version in the request.

Common Causes

How to Fix It (For Visitors)

How to Fix It (For Developers/Admins)

Returning a 505 HTTP Version Not Supported (Code Examples)

If you build APIs or web apps, here is how to send an HTTP 505 response and how to test for it:

Node.js (Express)

app.get('/resource', (req, res) => {
  res.status(505).json({ error: 'HTTP Version Not Supported' });
});

Python (Flask)

@app.route('/resource')
def resource():
    return jsonify(error='HTTP Version Not Supported'), 505

PHP

<?php
http_response_code(505);
header('Content-Type: application/json');
echo json_encode(['error' => 'HTTP Version Not Supported']);

Check the status with curl

curl -I https://example.com/resource
# Look for: HTTP/1.1 505 HTTP Version Not Supported

Frequently Asked Questions

What does HTTP 505 HTTP Version Not Supported mean?

Server doesn't support the HTTP version in the request. In short: The server does not support the HTTP protocol version used in the request.

Is a 505 HTTP Version Not Supported error my fault or the website's?

505 is a 5xx server-error code, so the problem is on the server side, not your browser or device. As a visitor you can usually only retry; if you run the site, investigate the server.

How do I fix a 505 HTTP Version Not Supported error?

Update server software. Enable HTTP/2 support. Configure protocol versions.

Official Specification

The 505 HTTP Version Not Supported status code is defined in RFC 7231 Section 6.6.6.

View the IANA HTTP Status Code Registry →