Start free · Free tools · Fair usage limits
Browse Tools

Categories

Custom AI Solutions – AI2Flows
LIVE NEWS
Loading latest AI & SEO news…
Home›Tools›HTTP Status Codes Reference›HTTP 505 HTTP Version Not Supported
5xx Server Error

HTTP 505 HTTP Version Not Supported

HTTP 505 HTTP Version Not Supported means the server does not support the HTTP protocol version used in the request. It is rare today and usually caused by…

Quick answer

HTTP 505 HTTP Version Not Supported means the server does not support the HTTP protocol version used in the request. It is rare today and usually caused by malformed request lines, such as spaces in the URL, which make the version look invalid.

Last updated · Maintained by FreeAIToolz · How we test

What does HTTP 505 HTTP Version Not Supported mean?

Real version mismatches are uncommon because servers support HTTP/1.1 and negotiate HTTP/2 or 3 separately. A space or illegal character in the request path can make the server misread the version field.

Status code505
NameHTTP Version Not Supported
Class5xx Server Error
Defined inRFC 9110 §15.6.6
Cacheable by defaultNo, unless Cache-Control says so
Safe to retry automatically?No: change the request first

What causes HTTP 505?

  • Unencoded spaces or characters in the URL path of a raw request.
  • A very old or custom client sending an unsupported version.

How do I fix HTTP 505?

  1. URL-encode paths (spaces as %20).
  2. Use a standard HTTP client library.

What should a client do after HTTP 505?

Fix the request line or use HTTP/1.1.

Does HTTP 505 affect SEO?

No practical SEO impact.

Example 505 response

HTTP/1.1 505 HTTP Version Not Supported
Date: Mon, 01 Dec 2026 12:00:00 GMT
Content-Type: application/json

{"error":{"status":505,"message":"HTTP Version Not Supported"}}

How to return 505 HTTP Version Not Supported in code

Express (Node.js)

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

Next.js route handler

return Response.json({ error: 'HTTP Version Not Supported' }, { status: 505 });

FastAPI (Python)

raise HTTPException(status_code=505, detail="HTTP Version Not Supported")

PHP

http_response_code(505);

Nginx

location = /example {
    return 505;
}

Other 5xx status codes

The server failed to fulfil a valid request. Retrying later, with backoff, is usually reasonable.

Frequently asked questions

Why do I get 505 from my script?
Most often the URL contains an unencoded space, which breaks the request line. Encode the URL.
Does 505 relate to HTTP/2?
Rarely. HTTP/2 is negotiated during TLS (ALPN), so servers fall back to HTTP/1.1 instead of returning 505.
Is 505 a client or server error?
505 is in the 5xx class, a server error: the request may be fine, but the server could not complete it.