@http · HTTP status codes, explained HTTP/1.1 407 Proxy Authentication Required ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4xx · Client error Authenticate with the proxy first. WHAT IT MEANS ──────────────────────────────────────────────────────────── Like 401, but for a proxy between the client and the server. The proxy wants credentials first and says how in its Proxy-Authenticate header. WHY YOU'RE SEEING IT ───────────────────────────────────────────────────── → A corporate or school proxy that requires login. → Missing or wrong proxy credentials in a tool's configuration. HOW TO FIX IT ──────────────────────────────────────────────────────────── → Configure proxy credentials, e.g. curl -x http://proxy:3128 -U user, or the HTTPS_PROXY environment variable. → Check whether the host you're calling should bypass the proxy (NO_PROXY). EXAMPLE RESPONSE ───────────────────────────────────────────────────────── HTTP/1.1 407 Proxy Authentication Required Proxy-Authenticate: Basic realm="corp-proxy" Content-Length: 0 related 401 Unauthorized   403 Forbidden   305 Use Proxy spec RFC 9110 §15.5.8 https://www.rfc-editor.org/rfc/rfc9110#section-15.5.8 web https://athttp.com/407 ← curl athttp.com/406 curl athttp.com/408 →