All data returned by the API use the following format:
- If a 2xx HTTP status code is returned, the request is successful.
- If a 4xx HTTP status code is returned, the request is failed.
The returned data for successful requests is encoded in JSON format.
/* Returned data */
When a request failed, an HTTP response containing an HTTP status code (4xx or 5xx) is returned. The body of the response contains an error code and the error information. You can inspect the cause based on the error code. The response also contains the ID of the request (RequestId, globally unique) and the ID of the server (HostId) that you need to access. If you cannot find the cause, contact Customer Support or submit a ticket, and send your HostId and RequestId as requested to resolve the problem.
"Message": "The request has invalid parameters."