Error Response

Last updated: 2019-09-18 15:27:00

This is a legacy API and may be deprecated in the future. It is currently not displayed on the left sidebar. We recommend using CVM API v3.0, which is more standardized and has much lower access latency.

If an API call fails, the code field in the final return result will not be 0, and a detailed error message will be displayed in the message field. You can go to Error Codes and use code and message to check the error information.
Below is a sample of an error:

{
    "code": "5100",
    "message": "(100004) incorrect projectId"
}