> ## Documentation Index
> Fetch the complete documentation index at: https://docs.brightdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Proxy errors troubleshooting

> Explore the catalog of Bright Data HTTP errors (4xx and 5xx codes), including error codes, descriptions and actions to resolve common proxy issues.

This article provides information on how to identify proxy errors from other errors, how to analyze errors, troubleshoot and resolve issues with Bright Data proxy services.

## How can I get indication on Bright Data proxy services health status?

Bright Data publishes its products and services status in this page: [https://brightdata.com/network-status](https://brightdata.com/network-status) . In this page you can see if there are current issues or incidents in the products you use or our global availability. You can also register for email alerts which are sent upon changes in our availability of reporting on wide incidents.

## What to do if I see that there is current incident in the proxy network I am using?

First, you need to check if your operations are impacted. Two main indications are degradation in response time (slowness) or increased error rates. If one of those occur, reduce your processing rate and follow the next steps to identify the issue.

## How can I tell if the error I got is originates from a Bright Data proxy?

While using our proxies, you may encounter errors that do not originate from Bright Data. To identify the source of the error, check if the response headers include BrightData error fields listed below, we cover most errors by proxy layer in those codes.

If you are still not able to get to your target website, or receive a response `HTTP` status `200` without the data you are expecting, you were probably blocked. In this article: [Overcoming website blocking](https://docs.brightdata.com/proxy-networks/website-blocking.md) we provide some best practices.

## How to resolve "Proxy Error" when testing Bright Data proxies thru another software?

Many software tools and utilities use Bright Data proxies, and have a function to "Test proxy" in them. When you hit "Test proxy" and get a generic "Proxy Error" message in that software, it can originate from various reasons.

### Common issues and resolutions

* Targeting a search engine like [google.com](http://google.com) or [bing.com](http://bing.com): Bright Data limits search engine access via its proxy networks. To resolve go to your software settings and change the test website to be: [https://geo.brdtest.com/welcome.txt](https://geo.brdtest.com/welcome.txt)
* Using Bright Data residential network without installing a certificate: Bright Data does not allow using its Residential network without passing a KYC verification or installing a certificate. Read on different access modes [Residential Network Access Policy. ](https://docs.brightdata.com/products/residential/network-access.md)

## Bright Data Proxy Errors Troubleshooting

## Bright Data's proxy error format and standard now supports RFC9209

Starting October 2025, Bright Data supports two sets of headers to relay proxy error in response payload:

1. Propietary `x-brd-*` fields: `x-brd-err-code` and `x-brd-err-msg`
2. Standard RFC9209 `Proxy-Status` response header supporting RFC9209 standard proxy error format.

The `Proxy-Status` header standard field will eventually replace the `x-brd-*` fields, during 2026.

## What is RFC9209?

RFC9209 is the standard on how to relay proxy errors in response headers over proxy. Bright Data is adopting this standard and applied it to all its error catalog. This will allow customers' code as well as 3rd party tools using proxy as infrastructure to refer to error from proxy interaction and resolve issues faster.

You can read more about it here: [The Proxy-Status HTTP Response Header](https://www.rfc-editor.org/rfc/rfc9209.html)

## How to implement RFC9209?

### Example Proxy-Status HTTP header

```text theme={null}
Proxy-Status: brd.superproxy.io; 
received-status=400; 
error=destination_ip_unroutable; 
details="client_10060: Requested IP ##.##.##.## is not allocated to this zone. Select an IP that is allocated to this zone or skip the -ip parameter in proxy username."
```

### Implementation Instructions

1. Parse the response header: Ensure that your systems are configured to interpret the Proxy-Status header in HTTP responses.
2. Extract relevant fields:
   * `received-status`: Provides the HTTP status code received.
   * `error`: Describes the general error encountered.
   * `details`: Contains specific error codes and further information from our error catalog.
   * The first field in the details will be bright data error code (like: client\_10060) followed by ':' (colon) delimiter. 
   * You can browse directly to the error document using this prefix, keeping the error code exactly as shown, including the '\_' (underscore): `https://docs.brightdata.com/proxy-networks/errorCatalog#[Bright data error code]`. Example for client\_10060: [https://docs.brightdata.com/proxy-networks/errorCatalog#client\_10060](https://docs.brightdata.com/proxy-networks/errorCatalog.md#client_10060)
3. Adapt your error handling processes according to these structured codes to improve debugging and ensure a seamless proxy operation.

## Bright Data HTTP proxy header fields

The following fields are returned upon and `HTTP` or `HTTPS` requests:

| Field | Description | Examples | REST API Field Name |
| :- | :- | :- | :- |
| `HTTP Error` | The protocol error numbers | `404` or `502` | `status_code` |
| `x-brd-err-code` | Bright data module and error code number | `client_10001` | `error_code` |
| `x-brd-error` | Bright data main error message | Authentication failed | `error` |
| `x-brd-err-msg` | Bright data elaborated message and actions | Authentication failed. Please check your credentials or review your [account status and billing settings](https://brightdata.com/cp/settings/billing). | `error_message` |
| `Proxy-Status` | RFC9209 compliant response header. It will include Bright Data proxy server, the HTTP status and details string which has a reference to Bright Data's error code. | `Proxy-Status: brd.superproxy.io; received-status=407; error="http_request_denied"; details="client_10000: Invalid authentication: check credentials and retry. Bright Data credentials include your account ID, zone name and password"` | Not supported |

The headers are relayed as part of Bright Data proxy service and customers are not billed for their bandwidth overhead.

### Deprecating x-luminati-\* headers

Starting 1-May-2026 Bright Data proxy response will not include any x-luminati-\* headers.

#### HTTP Code 200 headers deprecating

| Header | Current header | Description |
| :- | :- | - |
| `x-luminati-ip` | `x-brd-ip` | IP address of the proxy peer used to relay your request |
| `x-luminati-timeline` | `x-brd-timeline` | Internal request processing timeline for debugging |

#### HTTP Error Code headers deprecating

| **Header** | **Current header** | **Description** |
| :- | :- | :- |
| `X-Luminati-Error` | `x-brd-error` | Short error description |

### Getting HTTP header fields

#### Testing from command line

To view and test your settings, or reproducing an issue, you can run a `curl` command from your shell prompt and add the option flag `-v` or `i`. These flags will run curl in verbose mode and print out the header fields, including the custom error code and message.

```sh theme={null}
curl -v [rest of curl command options]
```

To see a more compact view with the header fields response only use the `-i` option for curl:

```sh theme={null}
curl -i [rest of curl command options]
```

Alternatively, you can use the `nc` command to get the fields printed to screen:

```sh theme={null}
echo "[tcp nc inputs]" | nc -C -v brd.superproxy.io 44445
```

> [!NOTE]
>
> `nc` inputs may include "empty" lines, those are essential for correct testing using `nc` command

#### `curl` Command snippet

`curl` command snippet, with all required zone parameters is available in the **Overview** tab in Bright Data control panel for the zone you are working on.

#### Accessing via programming language

Bright Data HTTP header fields can be accessed thru your programming language, as any other HTTP header field.

#### Accessing via Bright Data's Proxy REST API

Bright data offers a REST API to access its proxy networks as well as the Web Unlocker API and our SERP for targeting search engines. The error field names are slightly different , yet the content is identical.

Example response:

```JSON theme={null}
"status_code": 407,
"status_message": "Proxy Authentication Required",
"error": "Proxy Authentication Required",
"error_message": "No proxy credentials provided. Please add credentials and try again.",
"error_code": "client_10010"
```

## Error Catalog

Every entry below lists the exact strings the proxy returns, so you can match them against your own logs.

* **`x-brd-error`** carries the short error description. A few errors do not set this header, and those rows show the HTTP status message instead.
* **`x-brd-err-msg`** carries the elaborated message and the action to take.
* **`Proxy-Status` error** is the RFC 9209 error type returned in the `Proxy-Status` header. "Not set" means the error does not return one.

Values shown as `%HOST%`, `%IP%`, `%ZONE%`, `%COUNTRY%`, `%PORT%` and `%DOMAIN%` are substituted at runtime with your request details.

### HTTP Error 400

When Using the Data center/ISP or gIPs products with the `-ip-x.x.x.x` targeting flag, the error code `400` can appear in case the IPs under your zone has been refreshed, removed, or simply changed due to system updates

> [!NOTE]
>
> This error typically arises after your BrightData account has been recently suspended. An automatic suspension occurs if your account balance becomes negative. If the suspension extends beyond 24 hours, the static allocated IPs will be released from your account. Upon reactivation, the reallocated IPs may differ from the original ones, thus if the previously allocated IPs are still being targeted - this error is thrown.

Whenever this error appears, you should go to your Bright Data Zones page, and view the updated list of IPs relevant to this zone.

#### `client_10060`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| `Proxy Error: ip_requested_not_allocated_by_customer` | Requested IP `%IP%` is not allocated to this zone. Select an IP that is allocated to this zone or skip the `-ip` parameter in proxy username. | `destination_ip_unroutable` |

When the request does not name a specific IP, the same code returns a different message: "No available IPs could be allocated in this zone. Please try again later or contact support."

#### `client_10061`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Not set. HTTP status message is `Peer not found` | No proxy found in selected default countries: `%COUNTRY%`. Please revise your default country selection or use -country flag to another country and override the default settings. Read more here: [https://docs.brightdata.com/api-reference/proxy/geolocation-targeting](https://docs.brightdata.com/api-reference/proxy/geolocation-targeting.md) | `destination_ip_unroutable` |

#### `client_10062`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Not set. HTTP status message is `No IPs in selected country` | No IPs in selected country-`%COUNTRY%`. Please try another country, or omit the -country auth param. Read more: [https://docs.brightdata.com/api-reference/proxy/geolocation-targeting](https://docs.brightdata.com/api-reference/proxy/geolocation-targeting.md) | `destination_ip_unroutable` |

On a Datacenter or ISP zone the same code returns a zone-specific message instead: "Your `shared` or `dedicated` `DC` or `ISP` zone does not have IPs in selected countries. Either IPs location has changed, or zone not configured with proxies in selected countries. Check zone configuration and try again with relevant country code."

#### `client_10063`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Not set. HTTP status message is `Bad IP format` | The IP address provided: `%IP%` is either empty or does not comply with IPv4 or IPv6 protocol. Please check your inputs and try again. | `destination_ip_unroutable` |

***

### HTTP Error 401

These are the `x-brd-err-code` values for HTTP error 401:

#### `client_10050`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| `Auth Failed (code: ip_blacklisted)` | The IP address from which you are sending this request: `%IP%` is blacklisted in this zone's settings. To resolve this issue, remove `%SUBNET%` from the "Blocked IPs" list `https://brightdata.com/cp/zones/%ZONE%/access_params?id=%ACCOUNT_ID%` | `destination_ip_prohibited` |

See [how to allowlist and denylist IPs and domains](https://docs.brightdata.com/proxy-networks/faqs.md#how-to-allowlist-denylist-ips-and-domains) to resolve this.

***

### HTTP Error 402

These are the `x-brd-err-code` values for HTTP error 402:

> [!NOTE]
>
> The 402 errors below apply to Residential zones created on or before July 7, 2026 and remain valid for those existing zones. They do not apply to Residential zones created after July 7, 2026, which require KYC. See the [Residential network access policy](https://docs.brightdata.com/products/residential/network-access.md).

#### `policy_20130`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Residential Failed (`bad_endpoint`): Requested site is not available for immediate residential (no KYC) access mode due to the fact that `%HTTP_METHOD%` requests are not allowed. To get full residential access for targeting this site, fill in the KYC form: [https://brightdata.com/cp/kyc](https://brightdata.com/cp/kyc) | Same as `x-brd-error` | `destination_ip_prohibited` |

#### `policy_20140`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Residential Failed (`bad_endpoint`): Requested site is not available for immediate residential (no KYC) access mode in accordance with robots.txt. To get full residential access for targeting this site, fill in the KYC form: [https://brightdata.com/cp/kyc](https://brightdata.com/cp/kyc) | Same as `x-brd-error` | `destination_ip_prohibited` |

> [!NOTE]
>
> On reseller accounts the KYC link in both 402 messages points to that reseller's own KYC form rather than to `brightdata.com/cp/kyc`.

***

### HTTP Error 403

HTTP 403 response code means you are forbidden from accessing a **valid** URL. The server processed the request, but it can't fulfill the request either due to the way the request was sent by the client or due to Bright Data policy, blocking target access.

> [!NOTE]
>
> `kyc_required` and `business_account_required` are not proxy errors. The Account Management API returns them when you create a Residential zone without the required verification. See [Residential 403 compliance errors](https://docs.brightdata.com/api-reference/account-management-api/Add_a_Zone.md#residential-403-compliance-errors).

These are the `x-brd-err-code` values for HTTP error 403:

#### `client_10070`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| No Protocol | Protocol was missing from original request. Please add either HTTP or HTTPS and retry. | `http_protocol_error` |

#### `client_10080`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| No Destination Host | No destination host. Destination host is missing or incorrect. Check your request parameters and try again. | `http_request_error` |

#### `client_10090`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| You are trying to use Scraping Browser zone as regular proxy. | You are trying to use Scraping Browser zone as regular proxy. A browser should be used to access this zone. See [Browser API](https://docs.brightdata.com/products/scraping-browser/introduction.md) for information on how to access your Browser API zone. | `http_request_denied` |

> [!NOTE]
>
> The proxy returns the legacy product name "Scraping Browser" in this message. Browser API is the current name for the same product.

#### `client_10130`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Forbidden: this super proxy is allowed to be used only for China domains via China peers. Otherwise use `brd.superproxy.io`. For more details review the following: `https://docs.brightdata.com/proxy-networks/mobile/faqs#how-to-browse-chinese-sites-by-using-chinese-residentials-ips` | Same as `x-brd-error` | `http_request_denied` |

#### `client_10250`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Forbidden: You tried to target `%HOST%` but got blocked | Forbidden: You tried to target `%HOST%` but got blocked since this host is not an allowed target in your zone's whitelist security setting. Please add this host to your whitelist or delete all content from whitelist to allow all targets. | `http_request_denied` |

#### `client_10260`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Forbidden: You tried to target `%HOST%` but got blocked | Forbidden: You tried to target `%HOST%` but got blocked since this host is explicitly blocked target in your zone's blacklist security setting. Please remove this host from your blacklist or delete all content from blacklist to allow all targets. | `http_request_denied` |

#### `policy_20000`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Access denied: `%HOST%` is classified as `%CATEGORY%` and blocked by Bright Data | Access denied: `%HOST%` is classified as `%CATEGORY%` and blocked by Bright Data as it might breach Bright Data usage policy. For more details review the following: [https://docs.brightdata.com/proxy-networks/residential/network-access#residential-proxy-network-policy](https://docs.brightdata.com/products/residential/network-access.md#residential-proxy-network-policy) | `http_request_denied` |

#### `policy_20010`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Bad Protocol | Bright Data restricts port 443 for HTTPS protocol only. Please fix your protocol or port and try again. | `http_protocol_error` |

#### `policy_20020`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Bad Port | Bad Port used. Ports we support: [https://docs.brightdata.com/proxy-networks/faqs#how-to-see-supported-ports-and-protocols](https://docs.brightdata.com/proxy-networks/faqs.md#how-to-see-supported-ports-and-protocols) | `http_request_error` |

#### `policy_20021`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Target port `%PORT%` is blocked by Bright Data for superproxy requests | Request was rerouted through a superproxy due to compliance policy, but then it was blocked because the destination port `%PORT%` is forbidden for requests from the superproxy | `http_request_denied` |

#### `policy_20022`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Forbidden | Target SMTP port \$\{port} is blocked for residential requests | `http_request_denied` |

#### `policy_20031`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Forbidden: target `%HOST%` is blocked | Forbidden: target `%HOST%` is blocked by Bright Data. Target host provides web service or information of Bright Data and our proxies cannot be used to target it. For further assistance please contact [support@brightdata.com](mailto:support@brightdata.com) | `connection_refused` |

#### `policy_20032`

Returned for the same condition as `policy_20031`, on tunneled requests.

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Forbidden: target `%HOST%` is blocked | Forbidden: target `%HOST%` is blocked by Bright Data. Target host provides web service or information of Bright Data and our proxies cannot be used to target it. For further assistance please contact [support@brightdata.com](mailto:support@brightdata.com) | `connection_refused` |

#### `policy_20040`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Destination host is blocked by Brightdata in accordance with our compliance policy | Destination host is blocked by Brightdata in accordance with our compliance policy | `destination_ip_prohibited` |

Check whether the domain is an allowed target for this zone in your [zone settings](https://brightdata.com/cp/zones/).

#### `policy_20050`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Forbidden: target site requires special permission. Contact BrightData for assistance | Forbidden: target site requires special permission. You are trying to access a target site which is not permitted by our compliance policy. In order to gain access you may need to undergo a KYC process, you can do so by filling in the form: [https://brightdata.com/cp/kyc](https://brightdata.com/cp/kyc) If you have already completed the KYC approval, please contact your account manager for further details. | `destination_ip_prohibited` |

#### `policy_20051`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Forbidden: target site requires special permission. Contact BrightData for assistance | Forbidden: target site requires is a government site and requires special permissions to access. In order to gain access you may need to undergo a KYC process, you can do so by filling in the form: [https://brightdata.com/cp/kyc](https://brightdata.com/cp/kyc) If you have already completed the KYC approval, please contact your account manager for further details. | `destination_ip_unroutable` |

#### `policy_20052`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Forbidden: target site not accessible via selected network. Contact BrightData for assistance | Forbidden: Access to this site is restricted on the selected network type due to compliance policies. Please try switching to a different network type. In order to gain access with same network you may need to undergo a KYC process, you can do so by filling in the form: [https://brightdata.com/cp/kyc](https://brightdata.com/cp/kyc) If you have already completed the KYC approval, please contact your account manager for further details. | `destination_ip_prohibited` |

#### `policy_20060`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Forbidden: `%HOST%` | Forbidden: `%HOST%`. You tried to target `%HOST%` which is blocked by Bright Data policy. | `connection_refused` |

#### `policy_20080`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Forbidden: request needs to be made using residential network | Forbidden: You are accessing a domain name which is not permitted to access by Bright Data Datacenter or ISP networks. Please retry your request using a Residential network zone. | `connection_refused` |

#### `policy_20090`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Forbidden: requests to this domain are blocked | Forbidden: requests to this domain are blocked on this proxy network. Please get access via a Unlocker zone or IDE tools, or contact your account manager for further assistance | `connection_terminated` |

#### `policy_20091`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Target `%HOST%` is blocked by Bright Data on IPv6. | Target `%HOST%` is blocked by Bright Data on IPv6 protocol. Please try IPv4 proxies or our Unlocker to access this target. | `destination_ip_prohibited` |

#### `policy_20100`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Forbidden: requests to this domain are blocked using the proxy networks, please get access via a Unlocker zone or IDE tools, or contact your account manager to assist | Same as `x-brd-error` | `connection_refused` |

#### `policy_20110`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Forbidden: requests to this domain are blocked using the Datacenter and ISP proxy networks, please get access via a SERP API zone or contact your account manager to assist | Same as `x-brd-error` | `connection_refused` |

#### `policy_20230`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Country `%COUNTRY%` is not permitted for targeting, please modify to a different country | Country `%COUNTRY%` is not permitted for targeting, please modify to a different country | `connection_refused` |

#### `policy_20231`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Forbidden peer location | Region %region% in country %country% is not permitted for targeting, please modify to a different region | `connection_refused` |

#### `policy_20240`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Proxy port `%PORT%` is restricted. Contact Bright Data support | Proxy port `%PORT%` is restricted. Contact Bright Data support | `http_request_denied` |

#### `policy_20250`

Returned when the target domain is forbidden by your account's root allowlist.

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Forbidden: You tried to target `%HOST%` but got blocked | Forbidden: You tried to target `%HOST%` but got blocked by Bright Data policy settings. Either this website is forbidden by Bright Data policy or your account doesn't have the right permission to access it. | `destination_ip_prohibited` |

#### `policy_20251`

Returned when the target domain is forbidden by the zone's root allowlist.

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Forbidden: You tried to target `%HOST%` but got blocked | Forbidden: You tried to target `%HOST%` but got blocked by Bright Data policy settings. Either this website is forbidden by Bright Data policy or your account doesn't have the right permission to access it. | `destination_ip_prohibited` |

#### `policy_20260`

Returned when the target domain is on your account's root denylist.

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Forbidden: You tried to target `%HOST%` but got blocked | Forbidden: You tried to target `%HOST%` but got blocked by Bright Data policy settings. Either this website is forbidden by Bright Data policy or your account doesn't have the right permission to access it. | `destination_ip_prohibited` |

#### `policy_20261`

Returned when the target domain is on the zone's root denylist.

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Forbidden: You tried to target `%HOST%` but got blocked | Forbidden: You tried to target `%HOST%` but got blocked by Bright Data policy settings. Either this website is forbidden by Bright Data policy or your account doesn't have the right permission to access it. | `destination_ip_prohibited` |

#### `policy_20270`

Returned when you try to access Bright Data from a country forbidden by our access policy.

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Access from your country is not allowed | Accessing from IP: %IP% in country: %COUNTRY% is forbidden by Bright Data policy. Check your outgoing IP geolocation using [https://geo.brdtest.com/welcome.txt](https://geo.brdtest.com/welcome.txt) | `http_request_denied` |

#### `policy_20271`

Returned when you try to access Bright Data from a region forbidden by our access policy.

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Access from your region is not allowed | Access from your region is not allowed. Requests sent from your region are blocked by Bright Data in accordance with our compliance policy | `http_request_denied` |

***

### HTTP Error 407

If you get HTTP error 407, this implies there is an error in authentication. This can be due to incorrect credentials or due to your account being suspended.

#### `client_10000`

Returned for both a wrong zone password and a wrong account ID. The two cases share the code and differ only in the `x-brd-err-msg` value.

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Authentication failed | Wrong password: Invalid authentication: check credentials and retry. Bright Data credentials include your account ID, zone name and password. Log into the dashboard to see or change this zone password | `http_request_denied` |
| Authentication failed | Wrong account ID: Invalid authentication: check credentials and retry. Bright Data credentials include your account ID, zone name and password | `http_request_denied` |

#### `client_10001`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Not set. HTTP status message is `Invalid Auth` | Invalid authentication: check credentials and retry. Bright Data credentials include your account ID, zone name and password | Not set |

#### `client_10002`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Not set. HTTP status message is `Zone not found` | Authentication failed: zone not found. Zone name used is either misspelled, or zone is disabled or deleted. Check your inputs, and validate zone is "Active" in Bright Data control panel, or use our API to get current zone status: [Get active zones](https://docs.brightdata.com/api-reference/account-management-api/Get_active_Zones.md) | `http_request_denied` |

#### `client_10010`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Not set. HTTP status message is `Proxy Authentication Required` | No proxy credentials provided. Please add credentials and try again. | `http_request_denied` |

#### `client_10020`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Account is suspended. Login to [brightdata.com/cp/setting/billing](https://brightdata.com/cp/setting/billing) to activate your account | Account is suspended. Login to [brightdata.com/cp/setting/billing](https://brightdata.com/cp/setting/billing) to activate your account | `http_request_denied` |

#### `client_10030`

Returned in two cases: the request IP is not on the zone's allowlist, or the IP is not allowed to reach the Bright Data API.

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| `Auth Failed (code: ip_forbidden)` | The IP address from which you are sending this request: `%IP%` is not whitelisted in this zone's settings. To resolve this issue, add it to the "Allowed IPs" list `https://brightdata.com/cp/zones/%ZONE%/access_params?id=%ACCOUNT_ID%` | `http_request_denied` |
| Authentication failed | You are not allowed to access our API via this IP (`%IP%`). Please verify your settings or allowlist this IP. | `http_request_denied` |

#### `client_10040`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| KYC required. Please visit [brightdata.com/cp/kyc](https://brightdata.com/cp/kyc) and ensure you are verified | KYC required. Please visit [brightdata.com/cp/kyc](https://brightdata.com/cp/kyc) and ensure you are verified | `http_request_denied` |

#### `policy_20120`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| IP parameter `%IP%` is incorrect, use x-brd-ip header format in the IP parameter | IP parameter `%IP%` is incorrect, use x-brd-ip header format in the IP parameter | `connection_refused` |

***

### HTTP Error 408

If you get HTTP error 408, this implies there is a timeout error in reaching your destination website. This can be due to incorrect target website, networking lags or blocks.

#### `peer_30040`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Peer did not connect to destination due timeout | Peer did not connect to destination due timeout | `connection_timeout` |

***

### HTTP Error 429

> [!NOTE]
>
> If you are using an unfunded account, you may be hitting the default rate limit of 1,000 requests per minute. You can verify your currently applied limit in the Control Panel, under the zone's Overview tab > Access details. Adding funds to your account will remove this default restriction.

These are the `x-brd-err-code` values for HTTP error 429:

#### `client_10110`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Your account exceeded the allowed rate limits. Reduce requests rate and try again or complete the [verification process](https://brightdata.com/cp/account_verification) to remove rate limits. You will not be charged for this request. | Same as `x-brd-error` | `http_request_denied` |

#### `policy_20220`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Rate limit for domain `%DOMAIN%` has been reached. Bright Data's health monitor is throttling down these requests to prevent overloading of the target website | Same as `x-brd-error` | `connection_refused` |

#### `policy_20221`

Returned when the request rate to the target host `%HOST%` is too high. Reduce the request rate to that host and retry.

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Requests rate to `%HOST%` is too high | Requests rate to `%HOST%` is too high | `connection_refused` |

If the target is an IP geolocation service, use Bright Data's own endpoint instead: `https://geo.brdtest.com/mygeo.json`.

#### `policy_20222`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Rate limit per IP `%IP%` on zone `%ZONE%` has been reached. Requests are throttled down to avoid overload. Either increase number of IPs or reduce rate, and review your rotation logic or your response size for unexpected increase to assure even distribution of requests and bandwidth across IPs of this zone. | Same as `x-brd-error` | `connection_refused` |

#### `peer_30050`

Returned when Bright Data applies an adaptive rate limit for a specific peer due to high load on the specific peer. The limit is adjusted dynamically, so retrying failed requests is expected and helps the limit lift faster as peer availability recover. If you use `-session` or `-ip` parameters: change to different session ID or different IP. This will direct your requests to another, free, peer.

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Requests to `%DOMAIN%` are rate-limited | Too many requests per peer IP %IP%. Reduce concurrency or if you use explicit IP assignment with "-ip" or "-session": retry with a different ip hash or session ID. | connection\_refused |

***

### HTTP Error 499

These are the `x-brd-err-code` values for HTTP error 499:

#### `client_10140`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Not set. HTTP status message is `Client disconnect` | The client closed the connection to the proxy before the response was fully returned. This is usually caused by client-side timeouts, cancelled requests, or local network interruptions. Review your client timeout configuration and ensure the client waits long enough for the proxy response. | `http_request_error` |

***

### HTTP Error 502

These are the `x-brd-err-code` values for HTTP error 502:

#### `client_10100`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Not set. HTTP status message is `Zone has reached usage limit` | Zone has reached usage limit. Go to [https://brightdata.com/cp/zones](https://brightdata.com/cp/zones) to remove/modify limitation | `http_request_denied` |

#### `client_10120`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Not set. HTTP status message is `Block direct route` | Request reroute blocked. You chose the option not to reroute requests through our superproxy on failure, so the reroute was blocked. | `http_request_denied` |

To change this behavior, see [Request error handling](https://docs.brightdata.com/api-reference/proxy/request_error_handling.md).

#### `client_10064`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| `Proxy Error` | The ip assigned to this persistent session is unavailable. Retry request with the same session ID, or use new session ID to get a new IP. | `destination_ip_unroutable` |

#### `peer_30030`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Proxy Error: We do not have proxies in the city you requested | Proxy Error: We do not have proxies in the city you requested, please check the spelling or try again later. Check [https://docs.brightdata.com/proxy-networks/faqs#how-to-target-a-specific-city](https://docs.brightdata.com/proxy-networks/faqs.md#how-to-target-a-specific-city) for proper use of city targeting. | `destination_ip_unroutable` |

#### `peer_30060`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Peer failed to connect to destination host | Peer %IP% returned an error: could not connect to %target%. The target may be unreachable from this peer: retry with a different ip hash or session ID. | `destination_ip_unroutable` |

#### `policy_20070`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Host is blocked in requested country | Host you are trying to access is blocked in requested country. Please change country and retry. | `http_request_error` |

#### `target_40001`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Could not resolve host `%HOST%` | Could not resolve host `%HOST%`. Check host name is correctly spelled and retry. If host is properly spelled or can only be resolved from a specific region contact brightdata support for DNS support. | `dns_error` |

#### `target_40011`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Attempting to resolve `%HOST%` to IPv6 failed. This is probably because the host you are targeting does not publish an IPv6 IP address. Retry the request on an IPv4 proxy. | Same as `x-brd-error` | `dns_error` |

#### `target_40020`

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Destination host connect timeout | Connection to destination host `%HOST%:%PORT%` timed out. The target server did not respond within the allocated time. This could indicate the server is down, overloaded, or blocking connections. Please verify the target URL and port are correct and try again. | `connection_timeout` |

#### `target_40021`

Returned for the same condition as `target_40020`, on Residential zones.

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Destination host connect timeout | Connection to destination host `%HOST%:%PORT%` timed out. The target server did not respond within the allocated time. This could indicate the server is down, overloaded, or blocking connections. Please verify the target URL and port are correct and try again. | `connection_timeout` |

#### `internal_50010`

Returned when the proxy hits an internal error. Retry the request, and contact [support@brightdata.com](mailto:support@brightdata.com) with the timestamp if it persists.

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Not set. HTTP status message is `Bad Gateway` | Proxy Error | Not set |

#### `internal_50020`

Returned when the automatic failover cannot assign a secondary IP to your request. If you target specific IP in your request, you will see this error if this IP is not available (automatic failover is disable when specifing an IP in your request). Retry the request, and contact [support@brightdata.com](mailto:support@brightdata.com) with the timestamp if it persists.

| `x-brd-error` | `x-brd-err-msg` | `Proxy-Status` error |
| :- | :- | :- |
| Automatic failover error | Automatic failover error: ﻿explicit IP provided: ﻿%IP% is unavailable and automatic failover bypassed so no secondary IP provided. Either omit the -ip parameter from your requests or try again later. Read more: ﻿[https://docs.brightdata.com/proxy-networks/faqs#how-does-automatic-failover-works-for-datacenter-and-isp-proxies](https://docs.brightdata.com/proxy-networks/faqs.md#how-does-automatic-failover-works-for-datacenter-and-isp-proxies) | `proxy_internal_error` |
