Updated on 2025-07-25 GMT+08:00

Status Codes

Table 1 Status codes

Status Code

Message

Description

100

Continue

The client should proceed with the request.

This provisional response informs the client that part of the request has been received and has not yet been rejected by the server.

101

Switching Protocols

The server has agreed to switch protocols. The server will only agree to switch protocols when new protocols are advantageous over existing protocols.

For example, you can switch to a newer version of HTTP.

201

Created

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

202

Accepted

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

203

Non-Authoritative Information

Non-authoritative information. The request is successful.

204

NoContent

The server has successfully fulfilled the request, but did not return any response body.

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

205

Reset Content

The server has fulfilled the request, but the requester is required to reset the content.

206

Partial Content

The server has successfully fulfilled part of a GET request.

300

Multiple Choices

There are multiple choices for a requested resource. The response contains a list of resource characteristics and addresses from which a user client (such as a browser) can choose the most appropriate one.

301

Moved Permanently

The requested resource has been permanently moved to the given URI indicated in the response.

302

Found

The requested resource was temporarily moved.

303

See Other

The server is redirecting the client to a different address.

It is expected to be accessed using a GET or POST method.

304

Not Modified

The requested resource has not been modified. When the server returns this status code, it does not return any resources.

305

Use Proxy

The requested resource must be accessed through a proxy.

306

Unused

This HTTP status code is no longer used.

400

BadRequest

Invalid request.

Modify the request and retry.

401

Unauthorized

The authorization information provided by the client is incorrect or invalid.

402

Payment Required

This status code is reserved for future use.

403

Forbidden

The request has been rejected.

The server understood your request but refused to authorize it, meaning you do not have permission to access the requested resource. Modify the request and retry.

404

NotFound

The requested resource could not be found.

Modify the request and retry.

405

MethodNotAllowed

The request method is not allowed.

Modify the request and retry.

406

Not Acceptable

The server could not satisfy the client's requirements for content characteristics.

407

Proxy Authentication Required

The request must be authenticated for the client to use a proxy. This status code is similar to 401.

408

Request Time-out

A server timeout occurred due to a slow client request.

The client can retry the request without making any changes.

409

Conflict

The request cannot be processed due to a conflict.

This status code indicates that the resource that the client attempts to create already exits, or the requested update failed due to a conflict.

410

Gone

The requested resource does not exist.

It has been permanently removed.

411

Length Required

The request cannot be completed because the Content-Length header was absent in the request.

412

Precondition Failed

One of the client-specified conditions in the request has failed.

413

Request Entity Too Large

The server refuses to process the request because the payload size is too large. The server may close the connection to prevent the client from continuously sending the request. If the server cannot process the request temporarily, the response will contain a Retry-After header field.

414

Request-URI Too Large

The URI (usually a web address) is longer than allowed.

415

Unsupported Media Type

The media format in the request is not supported.

416

Requested range not satisfiable

The requested range is invalid.

417

Expectation Failed

The server cannot fulfill the conditions set by the Expect header in the request.

422

UnprocessableEntity

The request is syntactically correct but semantically incorrect.

429

TooManyRequests

Too many requests have been made within the allowed time. You should try again after the time specified in the Retry-After header of the response has elapsed.

500

InternalServerError

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

501

Not Implemented

The server does not support a specific feature that is required to complete the request.

502

Bad Gateway

The server is acting as a gateway or proxy and receives an invalid request from a remote server.

503

ServiceUnavailable

The requested service is unavailable.

Modify the request and retry.

504

ServerTimeout

The request failed to be fulfilled within the given time. This status code is returned to the client only when the Timeout parameter was specified in the request.

505

HTTP Version not supported

The server does not support the HTTP protocol version used in the request.