> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/products/cn/proxies/residential-proxies/additional-information.md).

# 响应码

了解住宅代理的不同响应码。理解各代码下的问题并解决常见状态错误。

来自我们基础设施的错误将在 `X-Error-Description` **响应头**. 此响应头提供有关错误的详细信息以及下一步操作指导。

{% hint style="warning" %}
如果您从目标网站收到错误，响应中将不包含此响应头。在这种情况下，请检查您的爬取设置，看看是否有助于解决问题。
{% endhint %}

如果您遇到此处未列出的响应代码，请联系 [**客户支持**](mailto:support@oxylabs.io) 或您的客户经理以获取进一步帮助。

<table><thead><tr><th width="133.86328125">响应代码</th><th width="198">错误消息</th><th>说明</th></tr></thead><tbody><tr><td><code>200</code></td><td><code>正常</code></td><td>隧道建立成功。</td></tr><tr><td><code>400</code></td><td><code>错误请求</code></td><td>无法解析请求。请检查请求格式是否正确。</td></tr><tr><td><code>400</code></td><td><code>错误请求</code></td><td>不支持 SOCKS 版本。请使用 SOCKS5 发起请求。</td></tr><tr><td><code>400</code></td><td><code>错误请求</code></td><td>使用了不受支持的参数。如果您有任何疑问，请联系支持或您的客户经理。</td></tr><tr><td><code>400</code></td><td><code>错误请求</code></td><td>收到无效的 HTTP 请求。请重试。</td></tr><tr><td><code>403</code></td><td><code>访问被拒绝</code></td><td>受限目标。请联系支持或您的客户经理，如有任何疑问。</td></tr><tr><td><code>407</code></td><td><code>访问被拒绝</code></td><td>访问被拒绝：用户认证失败。请检查您的凭证并重试。</td></tr><tr><td><code>407</code></td><td><code>访问被拒绝</code></td><td>访问被拒绝：已达到流量限制。请联系支持或您的客户经理，如有任何疑问。</td></tr><tr><td><code>500</code></td><td><code>服务器内部错误</code></td><td>服务器内部错误：我们遇到了内部错误。请重试。</td></tr><tr><td><code>502</code></td><td><code>响应错误</code></td><td>请求过程中收到无效的 HTTP 响应。请重试。</td></tr><tr><td><code>502</code></td><td><code>响应错误</code></td><td>请求过程中收到无效响应。请重试。</td></tr><tr><td><code>502</code></td><td><code>网关错误</code></td><td>会话失败。请开始新会话。</td></tr><tr><td><code>502</code></td><td><code>网关错误</code></td><td>未找到出口节点（会话已结束）。请尝试使用不同的筛选条件（或开始新会话）。</td></tr><tr><td><code>502</code></td><td><code>网关错误</code></td><td>我们遇到了错误。请重试。</td></tr><tr><td><code>502</code></td><td><code>网关错误</code></td><td>客户端已断开连接。请重试。</td></tr><tr><td><code>504</code></td><td><code>超时</code></td><td>请求超时。请重试。</td></tr><tr><td><code>504</code></td><td><code>超时</code></td><td>无法访问目标。请检查目标 URL 是否正确并重试。</td></tr><tr><td><code>522</code></td><td><code>响应错误</code></td><td>请求过程中收到无效响应。请重试。</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developers.oxylabs.io/products/cn/proxies/residential-proxies/additional-information.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
