What 407 means
Like 401, but for a proxy (usually a corporate one), not the API itself.
Common causes
- A corporate or school proxy requires login.
How to fix it
If you're calling an API
- Configure proxy credentials in your HTTP client or environment (HTTPS_PROXY=http://user:pass@proxy:port).
If you run the server
- Proxies only.
Should you retry?
After adding proxy credentials.
Example response
HTTP/1.1 407 Proxy Authentication Required
Content-Type: application/problem+json
{
"type": "about:blank",
"title": "Proxy Authentication Required",
"status": 407,
"detail": "A proxy between you and the server needs you to authenticate."
}Related headers: Proxy-Authenticate, Proxy-Authorization.
Defined in: RFC 9110 (HTTP Semantics). 407 is a client error: change the request before retrying.
Debugging an API call? Convert your request with the cURL converter, check the response with the JSON formatter, or see whether the API is down on its status page.