If a CLI request reaches the system and the system returns an error, the CLI response contains:
- An HTTP status code
- Conditionally, an HCM-specific error code
- A JSON-formatted error response body:
{ "statusCode": <HTTP-status-code>, "errorCode": <HCI-specific-error-code>, "errorMessage": <message>, "errorProperties": [ { "name": <error-property>, "message": <error-property-message> } ] }
HTTP error codes | Description |
---|---|
400 (Bad Request) | The request body contains one or more of these:
|
401 (Unauthorized) | The provided credentials are invalid. |
403 (Forbidden) | You do not have permission to perform the request. |
404 (File not found) | The resource you are trying to retrieve or edit cannot be found. |
409 (Conflict) | The resource you are trying to create already exists. |
500 (Server Error) | The system experienced an error. |
599 (Network Connection Timeout Error) | The CLI request timed out while attempting to connect to the system or one of its instances. |
4000 Note: Some CLI requests return HCM-specific error codes in addition to an HTTP status code. These error codes are listed in the errorCodes field in the JSON response body.
|
SSL certificate not trusted. |