
# 异常响应
#### 云手机API
- 响应参数
  
  | 参数         | 参数类型   | 描述                                                                      |
  |:---|:---|:---|
  | request_id | String | 请求的唯一标识ID。                                                              |
  | error_code | String | 错误码，详情请参见[错误码](https://support.huaweicloud.com/api-cph/ErrorCode.html)。 |
  | error_msg  | String | 错误描述信息。                                                                 |
     
  
- 响应样例
  ```
  { 
      "request_id": "aad0860d089c482b943971f802a6718e", 
      "error_code": "CPS.0001", 
      "error_msg": "No permission to request resources." 
  }
  ```
  
 
#### 云手游API
- 响应参数
  
  | 参数         | 参数类型             | 描述                                                      |
  |:---|:---|:---|
  | request_id | String           | 请求的唯一标识ID。                                              |
  | error_code | String           | 错误码。                                                    |
  | error_msg  | String           | 错误描述信息。                                                 |
  | failures   | Array of objects | 操作对象异常的说明，详情请参见[表1]。 |
     
   表1failures数据结构说明 
  | 参数         | 参数类型   | 描述        |
  |:---|:---|:---|
  | server_id  | String | 云手机服务器ID。 |
  | error_code | String | 错误码。      |
  | error_msg  | String | 错误描述信息。   |
     
  
- 响应样例
  ```
  {
      "request_id": "6837531fd3f54550927b930180a706bf",
      "error_code": "CPS.1040",
      "error_msg": "App pool cannot be scaled down.",
      "failures": [
          {
              "server_id": "1564567b8bab40f34711234cb80d0124",
              "error_code": "CPS.1027",
              "error_msg": "Server is being scaled up."
          },
          {
              "server_id": "1564567b8bab40f34711234cb80d0188",
              "error_code": "CPS.1028",
              "error_msg": "No permission to request resources. Server is frozen."
          }
      ]
  }
  ```
  
 
