HTTP 402 Payment Required vs 505 HTTP Version Not Supported
HTTP 402 (Payment Required) is a 4xx Client Error response, while 505 (HTTP Version Not Supported) is a 5xx Server Error response. 402 indicates that reserved for future use. Originally intended for digital payment systems, some APIs use it to indicate a billing or subscription issue. In contrast, 505 means that the server does not support the HTTP version used in the request.
Description
Reserved for future use. Originally intended for digital payment systems, some APIs use it to indicate a billing or subscription issue.
When You See It
On some APIs when a subscription has expired or payment is needed.
How to Fix
Check your billing status, update payment method, or upgrade your subscription.
Description
The server does not support the HTTP version used in the request.
When You See It
When a client uses an HTTP version the server doesn't support.
How to Fix
Use a supported HTTP version (typically HTTP/1.1 or HTTP/2).
Key Differences
402 is a 4xx Client Error response, while 505 is a 5xx Server Error response.
HTTP 402: Reserved for future use. Originally intended for digital payment systems, some APIs use it to indicate a billing or subscription issue.
HTTP 505: The server does not support the HTTP version used in the request.
You encounter 402 when on some APIs when a subscription has expired or payment is needed.
You encounter 505 when when a client uses an HTTP version the server doesn't support.
When to Use Which
For 402 (Payment Required): Check your billing status, update payment method, or upgrade your subscription. For 505 (HTTP Version Not Supported): Use a supported HTTP version (typically HTTP/1.1 or HTTP/2).