At One Place

HTTP 407 — Proxy Authentication Required

HTTP 407
Proxy Authentication Required
You need to authenticate with a proxy server before your request can go any further.

What 407 actually means

Structurally identical to 401, but the challenge comes from a proxy between you and the site rather than from the site itself. The response carries `Proxy-Authenticate` instead of `WWW-Authenticate`, and you answer with `Proxy-Authorization`. Almost everyone who meets this is on a corporate or school network whose outbound proxy wants credentials.

Common causes

  • A corporate or school proxy requiring sign-in for outbound traffic
  • Proxy credentials stored in the OS or browser have expired or changed
  • An application configured to use a proxy without credentials
  • An ISP or captive proxy demanding authentication

If you're just trying to view the page

  1. Enter your network credentials when the proxy prompts you
  2. Check your proxy settings in the operating system or browser; a leftover proxy from another network is a common cause
  3. On a work device, contact IT — the proxy password may have expired with your domain password
  4. If you are not meant to be behind a proxy at all, turn the proxy setting off

If it's your site

  1. Command-line tools need the proxy configured explicitly: set `HTTP_PROXY` and `HTTPS_PROXY` with credentials, and `NO_PROXY` for internal hosts
  2. Build agents and containers behind a corporate proxy need the same environment variables, plus the proxy's CA certificate if it inspects TLS
  3. Do not confuse this with 401 in error handling — the headers and the party challenging you are different

Reference

Status code
407
Reason phrase
Proxy Authentication Required
Category
4xx — Client Error
Defined in
RFC 9110 §15.5.8

Common questions

What does HTTP 407 mean?
You need to authenticate with a proxy server before your request can go any further. Structurally identical to 401, but the challenge comes from a proxy between you and the site rather than from the site itself. The response carries `Proxy-Authenticate` instead of `WWW-Authenticate`, and you answer with `Proxy-Authorization`.
How do I fix a 407 error?
Enter your network credentials when the proxy prompts you
Is 407 a client error or a server error?
407 is in the 4xx range, which means client error. The request itself was the problem, so retrying it unchanged will usually return the same code.

Related pages

Sources

  1. Hypertext Transfer Protocol (HTTP) Status Code Registry — IANA
  2. RFC 9110: HTTP Semantics — IETF

How these figures are compiled and checked