Updated on 2023-06-25 GMT+08:00

Status Codes

Table 1 describes the status codes.

Table 1 Status codes

Status Code

Message

Description

200

-

The request has succeeded.

204

-

The request has succeeded.

400

Bad Request

The server failed to process the request.

401

Unauthorized

The request requires user authentication.

403

Forbidden

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

404

Not Found

The server has not found anything matching the request URI.

405

Method Not Allowed

The method specified in the request line is not allowed for the resource identified by the request URI.

406

Not Acceptable

The resource identified by the request is only capable of generating response entities which have content characteristics not acceptable according to the accept headers sent in the request.

407

Proxy Authentication Required

The client must first authenticate itself with the proxy.

408

Request Timeout

The client did not produce a request within the time that the server was prepared to wait.

409

Conflict

The request could not be completed due to a conflict with the current state of the resource.

500

Internal Server Error

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

501

Not Implemented

The server does not support the functionality required to fulfill the request.

502

Bad Gateway

The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.

503

Service Unavailable

The server is currently unable to handle the request due to a temporary overloading or maintenance of the server.

504

Gateway Timeout

Gateway timed out.