407
4xx Client ErrorProxy Authentication Required
Authentication with a proxy is needed before the request can proceed.
407 Proxy Authentication Required is 401's cousin for proxies: a proxy between you and the destination wants credentials before it forwards anything. The response carries a Proxy-Authenticate header describing the scheme it expects. You'll mostly meet it on corporate networks that route all traffic through an authenticating proxy.
What 407 looks like on the wire
GET / HTTP/1.1 Host: example.com HTTP/1.1 407 Proxy Authentication Required Proxy-Authenticate: Basic realm="corp-proxy"
About 4xx Client Error
The request has a problem the client needs to fix, like a bad URL, missing auth, or invalid input.
How to fix 407 Proxy Authentication Required
- Set proxy credentials in your client, either in the proxy URL or a Proxy-Authorization header.
- Confirm the proxy host and port are right for the network you're on.
- On corporate networks, ask IT which auth scheme the proxy expects (Basic, NTLM, Kerberos).
Tools that help with 407
Where it's defined
407 Proxy Authentication Required is defined in RFC 9110 §15.5.8. MDN's 407 reference covers browser behavior and examples.