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

# 响应代码

> 住宅代理错误定义

## 检索错误代码

住宅代理还会在响应标头中返回错误代码的具体定义。

例如，您可以发送启用了 `verbose` 模式的 `cURL` 来获取有关连接标头的更多信息。要启用 `verbose` 模式，只需在代理详细信息之前的命令中使用 `-v` /`--verbose` 选项：

```shellscript cURL theme={null}
curl -v -U "username:password" -x "gate.decodo.com:7000" "https://ip.decodo.com/json"
```

如果连接不成功，您将在响应的 `x-error-message` 标头中找到错误代码及其描述：

```text Response theme={null}
< HTTP/1.1 407 Proxy Authentication Required
< proxy-authenticate: Basic
* Authentication problem. Ignoring this.
< x-error-message: Access denied. You've reached your current traffic limit. Please contact support or your account manager to review or adjust your limit.
< content-length: 136
< content-type: text/plain
< 
* CONNECT tunnel failed, response 407
* Closing connection
curl: (56) CONNECT tunnel failed, response 407
```

## 错误代码参考

| 错误代码  | 描述                                           | 英文描述                                                                                                                                             |
| :---- | :------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| `400` | `错误请求。请检查格式并重新发送。`                           | `Bad request. Please review the format and try sending it again.`                                                                                |
| `400` | `错误请求。收到无效的 HTTP 请求。请重试您的请求。`                | `Bad request. Received an invalid HTTP request. Please try your request again.`                                                                  |
| `403` | `访问被拒绝。您正在尝试访问受限参数。如需帮助，请联系支持团队。`            | `Access denied. You’re trying to access a restricted parameter. Please contact support if you need assistance.`                                  |
| `403` | `访问被拒绝。您正在尝试访问受限目标。如需帮助，请联系支持团队。`            | `Access denied. You’re trying to access a restricted target. Please contact support if you need assistance.`                                     |
| `407` | `访问被拒绝。您已达到当前流量限制。请联系支持团队或您的客户经理以审查或调整您的限制。` | `Access denied. You’ve reached your current traffic limit. Please contact support or your account manager to review or adjust your limit.`       |
| `407` | `访问被拒绝。我们无法使用提供的详细信息登录您。请确认您的用户名和密码，然后重试。`   | `Access denied. We couldn’t log you in with the details provided. Please confirm your username and password and try again.`                      |
| `500` | `内部服务器错误。请重试。`                               | `Internal server error. Please try again.`                                                                                                       |
| `502` | `网关错误。路由您的请求时发生错误。请重试。`                      | `Bad gateway. An error occurred while routing your request. Please try again.`                                                                   |
| `502` | `网关错误。与客户端的连接已中断。请重新连接并重试您的请求。`              | `Bad gateway. The connection to the client was interrupted. Please reconnect and try your request again.`                                        |
| `502` | `网关错误。会话已失败。请启动新会话并重试。`                      | `Bad gateway. The session has failed. Please start a new session and try again.`                                                                 |
| `502` | `网关错误。我们找不到合适的出口节点，会话已结束。请调整您的过滤器或启动新会话并重试。` | `Bad gateway. We couldn’t find a suitable exit node and the session has ended. Please adjust your filters or start a new session and try again.` |
| `502` | `错误响应。从目标收到无效的 HTTP 响应。请重试您的请求。`             | `Bad response. Received an invalid HTTP response from the destination. Please try your request again.`                                           |
| `502` | `错误响应。我们从目标收到意外或无效的响应。请重试您的请求。`              | `Bad response. We received an unexpected or invalid response from the destination. Please try your request again.`                               |
| `504` | `超时。请求完成时间过长并已超时。请重新发送。`                     | `Timeout. The request took too long to complete and has timed out. Please try sending it again.`                                                 |
| `522` | `错误响应。我们从目标收到意外或无效的响应。请重试您的请求。`              | `Bad response. We received an unexpected or invalid response from the destination. Please try your request again.`                               |
| `522` | `超时。请求完成时间过长并已超时。请重新发送。`                     | `Timeout. The request took too long to complete and has timed out. Please try sending it again.`                                                 |
| `522` | `超时。无法及时到达目标。请确认目标 URL 正确并重试。`               | `Timeout. Couldn’t reach the destination in time. Please confirm that the target URL is correct and try again.`                                  |

***

<Columns cols={2}>
  <Card title="支持" href="https://direct.lc.chat/12092754" cta="让我们聊聊！">
    需要帮助或只是想打个招呼？我们的支持团队全天候为您服务。 \
    您也可以随时通过电子邮件 [support@decodo.com](mailto:support@decodo.com) 联系我们。
  </Card>

  <Card title="反馈" href="mailto:feedback@decodo.com" cta="分享反馈">
    找不到您要找的内容？请求一篇文章！ \
    有反馈意见？分享您对我们如何改进的想法。
  </Card>
</Columns>
