Skip to content

4xx Client error

407 Proxy Authentication Required

A proxy between you and the server needs you to authenticate.

What 407 means

Like 401, but for a proxy (usually a corporate one), not the API itself.

Common causes

  • A corporate or school proxy requires login.

How to fix it

If you're calling an API

  • Configure proxy credentials in your HTTP client or environment (HTTPS_PROXY=http://user:pass@proxy:port).

If you run the server

  • Proxies only.

Should you retry?

After adding proxy credentials.

Example response

HTTP
HTTP/1.1 407 Proxy Authentication Required
Content-Type: application/problem+json

{
  "type": "about:blank",
  "title": "Proxy Authentication Required",
  "status": 407,
  "detail": "A proxy between you and the server needs you to authenticate."
}

Related headers: Proxy-Authenticate, Proxy-Authorization.

Defined in: RFC 9110 (HTTP Semantics). 407 is a client error: change the request before retrying.

Debugging an API call? Convert your request with the cURL converter, check the response with the JSON formatter, or see whether the API is down on its status page.

HTTP 407 FAQ

What does HTTP 407 mean?

407 Proxy Authentication Required: A proxy between you and the server needs you to authenticate. Like 401, but for a proxy (usually a corporate one), not the API itself.

Is 407 a client or server error?

It's a client error (4xx): something about the request needs to change before it can succeed.

How do I fix a 407 error?

Configure proxy credentials in your HTTP client or environment (HTTPS_PROXY=http://user:pass@proxy:port).

Should I retry after a 407?

After adding proxy credentials.

Other 4xx status codes

All HTTP status codes