407 Proxy Authentication Required

The HTTP 407 Proxy Authentication Required client error response status code indicates that the request did not succeed because it lacks valid authentication credentials for the proxy server that sits between the client and the server with access to the requested resource.

This response is sent with a Proxy-Authenticate header that contains information on how to correctly authenticate requests. The client may repeat the request with a new or replaced Proxy-Authorization header field.

Status

http
407 Proxy Authentication Required

Examples

Proxy auth

A GET request is made to example.com/admin:

http
GET /admin HTTP/1.1
Host: example.com

Along the way, an intermediary lets the client know that clients must be authenticated and provides information about the authentication scheme:

http
HTTP/1.1 407 Proxy Authentication Required
Date: Wed, 21 Oct 2015 07:28:00 GMT
Proxy-Authenticate: Basic realm="Access to internal site"

Specifications

Specification
HTTP Semantics
# status.407

See also