Status Codes

Table 1 Normal status codes

Status Code

Message

Description

200

OK

Normal response to GET and PUT requests.

201

Created

Normal response to POST requests.

204

No Content

Normal response to DELETE requests.

Table 2 Error codes

Status Code

Message

Description

400

Bad Request

Invalid request URI.

Too long request header.

Invalid request body.

Unreleased fields in the request body.

401

Unauthorized

Authentication information unavailable in the request header.

Expired authentication information in the request header.

403

Forbidden

No permissions to access APIs.

404

Not Found

No available request URI.

No available requested resources.

405

Method Not Allowed

Method specified in the request not allowed.

406

Not Acceptable

Responses from the server failed to be received by the client.

407

Proxy Authentication Required

Proxy authentication required before the request can be processed.

408

Request Timeout

Request timed out.

409

Conflict

Failed to complete the request due to conflicts.

The resource being accessed by another request.

500

Internal IaaS OpenStack network error.

Service internal error.

Server exception.

501

Not Implemented

Failed to complete the request because the server does not support the requested function.

502

Bad Gateway

Failed to complete the request because the server receives an invalid response from the upstream server.

503

Service Unavailable

Failed to complete the request because the system is temporarily abnormal.

504

Gateway Timeout

Gateway timed out.