HTTP Status Codes

Complete reference of HTTP status codes grouped by category: Informational (1xx), Success (2xx), Redirection (3xx), Client Error (4xx), Server Error (5xx).

1xx Informational

100Continue

The server has received the request headers and the client should proceed to send the request body.

101Switching Protocols

The requester has asked the server to switch protocols and the server has agreed.

102Processing

The server has received and is processing the request, but no response is available yet.

2xx Success

200OK

Standard response for successful HTTP requests.

201Created

The request has been fulfilled and a new resource has been created.

202Accepted

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

204No Content

The server successfully processed the request and is not returning any content.

3xx Redirection

301Moved Permanently

The requested resource has been permanently moved to a new URL.

302Found (Temporary Redirect)

The requested resource temporarily resides under a different URL.

304Not Modified

Indicates the resource has not been modified since the last request (caching).

307Temporary Redirect

The request should be repeated with another URL, but the method must not change.

308Permanent Redirect

The request and all future requests should be repeated using another URL.

4xx Client Error

400Bad Request

The server cannot process the request due to a client error.

401Unauthorized

Authentication is required and has failed or not yet been provided.

403Forbidden

The request was valid, but the server is refusing action.

404Not Found

The requested resource could not be found.

405Method Not Allowed

A request method is not supported for the requested resource.

408Request Timeout

The server timed out waiting for the request.

429Too Many Requests

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

5xx Server Error

500Internal Server Error

Generic server error when no more specific message is suitable.

502Bad Gateway

The server was acting as a gateway and received an invalid response from the upstream server.

503Service Unavailable

The server is currently unavailable (overloaded or down for maintenance).

504Gateway Timeout

The server was acting as a gateway and did not receive a timely response from the upstream server.