Updated on 2022-03-31 GMT+08:00

Status Codes

The following table lists the status codes.

Status Code

Description

200 OK - [GET]

The request has succeeded.

201 CREATED - [POST/PUT/PATCH]

Data has been deleted or modified.

202 Accepted - [*]

The request has been put into the queue (asynchronous tasks).

204 NO CONTENT - [DELETE]

Data has been deleted.

400 INVALID REQUEST - [POST/PUT/PATCH]

Data is not created or deleted due to a client error.

401 Unauthorized - [*]

You do not have permission to perform this operation. The token, username, or password is incorrect.

403 Forbidden - [*]

You are authorized (opposite to error code 401), but access is forbidden.

404 NOT FOUND - [*]

No operation has been performed because the requested data does not exist.

406 Not Acceptable - [GET]

The format requested by a user is not supported. For example, the user requests the JSON format, but only the XML format is available.

410 Gone -[GET]

The target resource is no longer available at the origin server and that this condition is likely to be permanent.

422 Unprocesable entity - [POST/PUT/PATCH]

Validation failed during object creation.

500 INTERNAL SERVER ERROR - [*]

The server encountered an unexpected condition that prevented it from fulfilling the request.