Skip to content
EN
Get Started

407 Proxy Authentication Required

407 Proxy Authentication Required is the error your proxy returns when it didn't receive valid credentials. The request never reached the website.

Table of Contents (8 sections)

What a 407 means

A 407 comes from the proxy server itself. It wants a username and password before it forwards anything. The raw response usually looks like this:

HTTP/1.1 407 Proxy Authentication Required
Proxy-Authenticate: Basic realm="proxy"

Because the proxy stops the request, changing the target site or headers won’t help. Fix the credentials or how your tool sends them.

Common causes

  • Wrong or outdated credentials. A typo, an extra space, or a password that changed after you saved it.
  • Your tool isn’t sending them. Some tools ignore credentials written in the proxy URL and need separate username and password fields.
  • Special characters in the password. Characters such as @, : or # break the URL unless they’re encoded.
  • Fields in the wrong order. host:port:user:pass and user:pass@host:port are different formats. Mixing them up sends the wrong values.

How to fix it

  1. Copy the credentials again. Don’t retype them. In the FlashIP console, Copy All copies the proxy details together.

  2. Test outside your tool. Send one request with curl. If it returns 200, your credentials work and the problem is in your tool’s settings.

    curl -x http://USERNAME:PASSWORD@HOST:PORT -I https://example.com
  3. Use the tool’s authentication fields. Enter the username and password in the proxy authentication fields rather than inside the URL.

  4. Encode special characters. If you must use a URL, replace @ with %40, : with %3A and # with %23.

407 vs 401 vs 403

All three mean access was refused. Who refused tells you where to look.

Code Sent by What it means
401 Unauthorized The website The site wants you to sign in.
407 Proxy Authentication Required Your proxy The proxy wants valid credentials.
403 Forbidden The website The site refuses to serve you, often because of an IP or client block.

FAQ

Is a 407 error caused by the website?

No. A 407 comes from your proxy. The request stopped before it reached the website, so the fix is in your credentials or your tool’s settings.

Why does curl work but my tool returns 407?

Tools send proxy credentials in different ways. Some ignore credentials written inside the proxy URL, so enter the username and password in the tool’s proxy authentication fields.

Will retrying fix a 407?

No. The proxy keeps refusing until it receives valid credentials, so retrying only repeats the error.

Still getting 407? Send the exact error and the tool you use to our team on Telegram, and we’ll help you check the settings.

Related Terms

View All Terms