Abnormal Request Results

v3 APIs

Abnormal response description

Table 1 Abnormal response description

Name

Type

Description

error_code

String

Specifies the error code returned when a task submission exception occurs. For details, see Table 2.

error_msg

String

Specifies the description of the error returned when a task submission exception occurs.

Response example

{
    "error_code": "DBS.200022",
    "error_msg": "The DB instance name already exists."
}

v1 APIs

Abnormal response description

Table 2 Abnormal response description

Name

Type

Description

errCode

String

Specifies the error code returned when a task submission exception occurs. For details, see Table 2.

externalMessage

String

Specifies the description of the error returned when a task submission exception occurs.

Response example

{
    "errCode": "RDS.1102",
    "externalMessage": "The DB instance name already exists."
}

OpenStack Trove API v1.0 APIs

Abnormal response description

Table 3 Abnormal response description (using itemNotFound as an example)

Name

Type

Description

itemNotFound

List data structure. For details, see Table 4.

Specifies the error type when a task submission exception occurs. For details, see Table 3.

Table 4 Error type parameter data structure description

Name

Type

Description

code

String

Specifies the response code returned when a task submission exception occurs.

message

String

Specifies the description of the error returned when a task submission exception occurs.

Response example

{
  "itemNotFound": {
    "code": 404,
    "message": "The resource could not be found."
  }
}