HTTP 407: Proxy Authentication Required
A 407 comes from the proxy, not from the website. It is saying: "I heard you, but you have not proved who you are."
See plans from $75/mo ♡ Read the docs
The usual culprits
- A typo or a stray space in the username or password.
- Special characters such as @ : / # inside the password that were not URL-encoded when written into a proxy URL.
- The credentials were put in the wrong place — for example in the site login instead of the proxy settings.
- The subscription lapsed, so the provider disabled the login.
- Your software does not support authenticated proxies of that type at all.
Quick test
curl -v -x http://USERNAME:PASSWORD@HOST:PORT https://example.com
# look for: < HTTP/1.1 407 Proxy Authentication Required
If curl works and your application does not, the credentials are fine and the application is the problem.
Encoding awkward passwords
Inside a URL, write %40 for @, %3A for a colon and %23 for #. Better still, use the separate username and password fields your tool offers instead of cramming everything into one string.
Questions
Is 407 the same as 401?
No. 401 is the destination site asking for a login; 407 is the intermediary asking.
I get 407 only in headless Chrome.
Chromium ignores credentials embedded in the --proxy-server flag. Supply them through your framework's authentication hook or use a local relay.
Related guides
Ready for your own dedicated private mobile proxy? 🎀
Real AT&T, Verizon and T-Mobile SIMs · unlimited data · one-tap IP rotation · delivered by email or Telegram.