Error results

Last Updated: Apr 19, 2017

When an error occurs in an interface call, no results are returned. The caller can refer to the error codes defined by each interface or the Client Errors Table or the Server Errors Table in the appendix to locate the cause of the error.

When an error occurs in a call, the HTTP status code 4xx or 5xx is returned for the HTTP request. The returned message body includes the specific error code and error message. The message body also contains the globally unique RequestId and the requested HostId. If unable to find the error cause, the caller can contact Alibaba Cloud customer service and provide the HostId and RequestId to help us solve the problem as quickly as possible.

XML example:

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <Error>
  3. <RequestId>8906582E-6722-409A-A6C4-0E7863B733A5</RequestId>
  4. <HostId>ess.aliyuncs.com</HostId>
  5. <Code>UnsupportedOperation</Code>
  6. <Message>The specified action is not supported.</Message>
  7. </Error>

JSON example:

  1. {
  2. "RequestId": "8906582E-6722-409A-A6C4-0E7863B733A5",
  3. "HostId": "ess.aliyuncs.com",
  4. "Code": "UnsupportedOperation",
  5. "Message": "The specified action is not supported."
  6. }
Thank you! We've received your feedback.