DashboardDashboardLog inTry Free for 2 Hours

What 407 Proxy Authentication Required means and how to fix it

407 Proxy Authentication Required is an HTTP status code. It means the proxy between you and the website wants a login and password, and your request did not carry valid ones. The proxy stops the request, so the website never sees it.

A 407 usually comes down to the login, the format of the proxy line or the protocol. To rent a proxy, see mobile proxies and mobile proxy pricing.

AtlasProxies Team · Updated · 3 min read

Key Takeaways
  • The Proxy Wants a Login. A 407 comes from the proxy, before your request reaches the website.
  • Check the Login First. A wrong, missing or badly encoded password is the usual cause.
  • Not the Same as 401 or 403. A 401 comes from the website, and a 403 is a refusal rather than a request for a login.
On This Page
  1. What 407 Proxy Authentication Required means
  2. Common causes
  3. How to fix a 407 error
  4. 407 vs 401 vs 403
  5. Fixing a 407 on an AtlasProxies proxy

What 407 Proxy Authentication Required means

  1. Your ToolSends the request to the proxy, with or without a login.
  2. The ProxyChecks the login and password. If they fail, it answers 407.
  3. The WebsiteGets the request only after the login passes.

Along with the 407, the proxy sends a Proxy-Authenticate header that says how it wants you to log in. Your tool answers with a Proxy-Authorization header that carries the login and password.

Common causes

  • Wrong login or password. A typo, an extra space or an old password is enough.
  • No login sent. Some tools keep the login in a separate field, and an empty field sends nothing.
  • A special character in the password that is not URL-encoded. In a proxy URL written as http://login:password@host:port, characters such as @, # and / have to be encoded.
  • The proxy line pasted in the wrong format. If a tool wants the host, port, login and password in separate fields, the whole line in one field leaves the tool unable to read the login.
  • The wrong protocol. The tool is set to HTTP while the proxy is set to SOCKS5, or the other way round.

How to fix a 407 error

  1. 1Copy the Line AgainPaste the host, port, login and password fresh, with no extra spaces.
  2. 2Encode Special CharactersIn a proxy URL, write @ as %40, # as %23 and / as %2F.
  3. 3Match the FormatPut each part in the field the tool expects.
  4. 4Match the ProtocolSet the tool to HTTP or SOCKS5, the same as the proxy.

Test with one request before a full run. If the 407 stays, try the same line in a second tool. If it works there, the problem is in the first tool's settings.

407 vs 401 vs 403

CodeSent byWhat it means
401 UnauthorizedThe websiteThe website wants you to log in to it
403 ForbiddenThe website or the proxyThe server understood the request and refuses it
407 Proxy Authentication RequiredThe proxyThe proxy wants a valid login before it passes the request on

401 and 407 work the same way. A 401 asks for the website's login, and a 407 asks for the proxy's. A 403 is a refusal, so check your access to that page rather than your proxy login.

Fixing a 407 on an AtlasProxies proxy

An AtlasProxies proxy is one line: host, port, login and password. If you see a 407, copy that line again from My Proxies and paste it into your tool.

The host, port, login and password stay the same when the IP rotates, so you do not need to update the line after a rotation. Every plan includes HTTP and SOCKS5. If you switch protocol in My Proxies, set your tool to the same one. For the difference between the two, read HTTP vs SOCKS5.

Frequently Asked Questions

What does 407 Proxy Authentication Required mean?

The proxy wants a valid login and password before it passes your request on. Your request did not include them, or they were wrong.

How do I fix a 407 error?

Copy the proxy line again, encode any special characters in the password, put each part in the right field and set the tool to the same protocol as the proxy.

Why do I get a 407 when my password is right?

Check the password for characters such as @, # or /. In a proxy URL they have to be URL-encoded, or the tool reads the line wrong.

What is the difference between 401 and 407?

A 401 comes from the website and asks for the website's login. A 407 comes from the proxy and asks for the proxy's login.

Where do I find my AtlasProxies proxy login?

In My Proxies. Each proxy is one line with the host, port, login and password.

Your first mobile proxy is two minutes away.

Sign up, pick a country, and your login arrives in seconds.