Updated on 2023-12-27 GMT+08:00

Status Code

Table 1 describes the status code.

Table 1 Status code

Status Code

Description

Description

200

OK

The request is successfully processed.

201

Created

The request for creating a resource or task has been fulfilled.

202

Accepted

The request has been accepted, but the processing has not been completed.

204

No Content

The server has successfully processed the request, but has not returned any content.

The status code is returned in response to an HTTP OPTIONS request.

400

Bad Request

Invalid request.

The client should not repeat the request without modifications.

401

Unauthorized

The status code is returned after the client provides the authentication information, indicating that the authentication information is incorrect or invalid.

403

Forbidden

The server understood the request, but is refusing to fulfill it.

The client should not repeat the request without modifications.

404

Not Found

The requested resource cannot be found.

The client should not repeat the request without modifications.

405

Method Not Allowed

The method specified in the request is not supported for the requested resource.

The client should not repeat the request without modifications.

406

Not Acceptable

The server cannot fulfill the request according to the content characteristics of the request.

409

Conflict

The request could not be processed due to a conflict.

This status code indicates that the resource that the client attempts to create already exits, or the request fails to be processed because of the update of the conflict request.

413

Request Entity Too Large

The request is larger than that a server is able to process. The server may close the connection to prevent the client from continuing the request. If the server cannot process the request temporarily, the response will contain a Retry-After header field.

415

Unsupported Media Type

The server is unable to process the media format in the request.

500

Internal Server Error

The server is able to receive the request but it could not understand the request.

501

Not Implemented

The server does not support the requested function.

503

Service Unavailable

The requested service is invalid.

The client should not repeat the request without modifications.