After you call an API operation, the response data is displayed in a uniform format. A returned HTTP status code of 2xx indicates that the call succeeds. A returned HTTP status code of 4xx or 5xx indicates that the call has failed. The content format of responses is XML. Sample responses in this topic are formatted for ease of reading. Actual responses are not formatted with line breaks or indentation.

Responses in XML format include information about whether the call was successful, and details specific to the operation. Example:

    <? xml version="1.0" encoding="utf-8"? > 
    <!—Result root node--> 
    <Root node xmlns="http://mns.aliyuncs.com/doc/v1/">
    <! -Returned child node -->
    </Root node>

Error codes

If an error occurs when you call an operation, no data is returned. For more information about error codes, see Error codes.

If an error occurs during a call, HTTP status code 4xx or 5xx is returned. The response body contains the error code, the error message, a globally unique request ID (RequestId), and the ID of the site you accessed with this request (HostId). If you cannot identify the cause of the error, contact the Alibaba Cloud customer service and provide your HostId and RequestId so that we can solve the problem in a timely manner.