Updated on 2024-07-22 GMT+08:00

Status Codes

Table 1 describes common status codes.

Table 1 Status codes

Status Code

Message

Description

200

OK

The request has succeeded.

201

Created

The request has been fulfilled and has resulted in one or more new resources being created.

202

Accepted

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

204

No Content

The server has successfully fulfilled the request and that there is no additional content to send in the response content.

400

Bad Request

The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).

401

Unauthorized

The request has not been applied because it lacks valid authentication credentials for the target resource.

403

Forbidden

The server understood the request but refuses to fulfill it.

404

Not Found

The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

405

Method Not Allowed

The method received in the request-line is known by the origin server but not supported by the target resource.

406

Not Acceptable

The target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request, and the server is unwilling to supply a default representation.

409

Conflict

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

411

Missing Content-Length

The server refuses to accept the request without a defined Content-Length.

413

Request Entity Too Large

The server is refusing to process a request because the request content is larger than the server is willing or able to process.

416

Requested range not satisfiable

The set of ranges in the request's Range header field has been rejected because none of the requested ranges are satisfiable and the request does not include the If-Range header field.

429

Too Many Requests

The user has sent too many requests in a given amount of time ("rate limiting").

500

Internal Server Error

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

501

Not Implemented

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

503

Service Unavailable

The server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay.