> For the complete documentation index, see [llms.txt](https://docs.shieldproxies.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shieldproxies.com/troubleshooting/proxy-authentication-and-407-errors.md).

# Proxy Authentication & 407 Errors

Troubleshoot proxy authentication using username/password or IP whitelisting, including HTTP 407 errors.

Shield Proxies supports authentication methods depending on the product and configuration shown in your dashboard. Common methods are username/password authentication and IP whitelisting.

## Username and password authentication

Your application must use the exact proxy endpoint, port, username and password generated for the product.

Common causes of authentication failure include:

* incorrect username or password
* wrong endpoint or port
* wrong proxy protocol
* outdated credentials after credentials were refreshed
* extra spaces from copy/paste
* an application incorrectly parsing special characters in credentials

For Residential proxies, generate a fresh list after changing credentials.

## IP whitelist authentication

If your plan uses IP whitelisting, your current public source IP must be authorized in the Shield Proxies dashboard.

If your internet connection receives a new public IP, update the whitelist before trying again. See [Whitelist IP Addresses](https://docs.shieldproxies.com/dashboard/whitelist-ip-addresses.md).

## What HTTP 407 means

**407 Proxy Authentication Required** means the proxy gateway did not accept the authentication supplied with the request.

{% stepper %}
{% step %}

### Verify the endpoint and port

Make sure you are connecting to the correct proxy host and port for the purchased product.
{% endstep %}

{% step %}

### Verify the authentication method

Confirm whether the product is using username/password authentication or IP whitelisting.
{% endstep %}

{% step %}

### Re-enter the credentials

Copy the current credentials again from the dashboard or regenerate the proxy list if the credentials were recently changed.
{% endstep %}

{% step %}

### Test outside your application

Use a proxy tester or another client. If the same valid credentials return 407 in multiple independent clients, contact support.
{% endstep %}
{% endstepper %}

## Related guides

* [Whitelist IP Addresses](https://docs.shieldproxies.com/dashboard/whitelist-ip-addresses.md)
* [Update Proxy Credentials](https://docs.shieldproxies.com/dashboard/update-proxy-credentials.md)
* [Generate Residential Proxies](https://docs.shieldproxies.com/using-your-proxies/generate-residential-proxies.md)
* [Common Proxy Errors](https://docs.shieldproxies.com/troubleshooting/common-proxy-errors.md)
* [Open a Support Ticket](https://docs.shieldproxies.com/support-and-community/open-support-ticket.md)
