> For the complete documentation index, see [llms.txt](https://smallso.gitbook.io/tencent-cloud-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://smallso.gitbook.io/tencent-cloud-sdk/python-docs/other-products/exceptions/response-error.md).

# ResponseError 异常

## 简要

该异常指示 Tencent Cloud SDK for Python 所提供的通用或抽象产品客户端请求 Tencent Cloud API 成功，但 Tencent Cloud API 响应内容结构不符合预期。

```python
class ResponseError(ClientError)
```

继承：`tencent.cloud.core.errors.ClientError` 类

## 属性

该异常类包含的可公开访问属性和属性描述如下：

| 属性             | 类型  | 描述                             |
| -------------- | --- | ------------------------------ |
| status\_code   | int | Tencent Cloud API 响应 HTTP 状态码。 |
| error\_message | str | Tencent Cloud API 响应 HTTP 正文。  |

## 适用于

#### Tencent Cloud SDK for Python

产品软件包：tencent-cloud-sdk-core >= 0.1.1
