HTTP 407 Proxy Authentication Required (HTTP 407 Proxy Authentication Required)
HTTP 407 indicates that valid authentication is required to use the proxy for the request. The challenge concerns proxy access, independently of any login required by the destination.
Explanation
Follow the challenge, not the page login
RFC 9110 requires the proxy to include a Proxy-Authenticate challenge in a generated 407 response. The client may repeat the request with new or replaced Proxy-Authorization information. The challenge identifies the authentication scheme; an HTTP Basic example does not imply that all proxies use Basic.
Consider an authorized report fetch that encounters 407 before its CONNECT tunnel forms. The website has not yet received the report request inside that tunnel. Entering the website password in a login form does not satisfy the proxy’s earlier challenge.
A status is evidence, not a complete diagnosis
Credentials might be absent, rejected or unsuitable for the requested scheme. First confirm the intended proxy endpoint and the client’s dedicated proxy authentication settings. A credential reset or a copied username with altered formatting can require correction, but 407 alone cannot identify which condition occurred.
Proxy-Authorization and the destination’s Authorization serve different recipients. Do not move secrets between them as a trial fix. Some clients wrap tunnel failures in a proxy exception, so inspect the redacted underlying response when the top-level result hides the status.
Avoid retries that preserve the same error
Repeating unchanged credentials or switching exits does not address the protocol’s authentication requirement. Correct the documented access configuration and retry only within a bounded diagnostic check. After proxy authentication succeeds, independently verify destination permission and response content.
Further reading
- How to Test HTTP Proxy Availability: A Step-by-Step Guide for Beginners
- How Should Enterprises Manage Proxy Account Permissions, Allowlisting, and Access Auditing?
- How HTTP Proxies Handle HTTPS: Request and Response Paths Explained
References
Sources checked on November 19, 2026. Scenarios and numerical examples explain the concepts; they are not proxy performance measurements.
Frequently Asked Questions
No. Valid authentication may be missing entirely or the client may not support the challenge.
It is the proxy’s response challenge. Proxy-Authorization carries the client’s authentication information.
No. Destination authentication and authorization remain separate.