Documentation

HTTP Status Codes

Understanding the meaning of different HTTP response codes is crucial for effective monitoring. Here is a comprehensive list of common status codes.

1xx: Informational

Request received, continuing process.

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 to do so.

102Processing

A WebDAV request may contain many sub-requests involving file operations.

103Early Hints

Used to return some response headers before final HTTP message.

2xx: Success

The action was successfully received, understood, and accepted.

200OK

Standard response for successful HTTP requests.

201Created

The request has been fulfilled, resulting in the creation of a new resource.

202Accepted

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

203Non-Authoritative Information

The server is a transforming proxy (e.g. a Web accelerator) that received a 200 OK from its origin, but is returning a modified version of the origin's response.

204No Content

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

205Reset Content

The server successfully processed the request, but is not returning any content. Unlike a 204 response, this response requires that the requester reset the document view.

206Partial Content

The server is delivering only part of the resource (byte serving) due to a range header sent by the client.

3xx: Redirection

Further action must be taken in order to complete the request.

300Multiple Choices

Indicates multiple options for the resource from which the client may choose.

301Moved Permanently

This and all future requests should be directed to the given URI.

302Found

Tells the client to look at (browse to) another URL. 302 has been superseded by 303 and 307.

303See Other

The response to the request can be found under another URI using the GET method.

304Not Modified

Indicates that the resource has not been modified since the version specified by the request headers If-Modified-Since or If-None-Match.

307Temporary Redirect

In this case, the request should be repeated with another URI; however, future requests should still use the original URI.

308Permanent Redirect

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

4xx: Client Error

The request contains bad syntax or cannot be fulfilled.

400Bad Request

The server cannot or will not process the request due to an apparent client error (e.g., malformed request syntax).

401Unauthorized

Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided.

403Forbidden

The request was valid, but the server is refusing action. The user might not have the necessary permissions for a resource.

404Not Found

The requested resource could not be found but may be available in the future.

405Method Not Allowed

A request method is not supported for the requested resource (e.g. a GET request on a form that requires data to be presented via POST).

408Request Timeout

The server timed out waiting for the request.

409Conflict

Indicates that the request could not be processed because of conflict in the request, such as an edit conflict.

410Gone

Indicates that the resource requested is no longer available and will not be available again.

429Too Many Requests

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

5xx: Server Error

The server failed to fulfill an apparently valid request.

500Internal Server Error

A generic error message, given when an unexpected condition was encountered and no more specific message is suitable.

501Not Implemented

The server either does not recognize the request method, or it lacks the ability to fulfill the request.

502Bad Gateway

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

503Service Unavailable

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

504Gateway Timeout

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

520Web Server Returned an Unknown Error

Cloudflare utilized as a catch-all response for when the origin server returns something unexpected.

521Web Server Is Down

The origin server has refused the connection from Cloudflare.

522Connection Timed Out

Cloudflare could not contact the origin server.

523Origin Is Unreachable

Cloudflare could not reach the origin server; for example, if the DNS records for the origin server are incorrect.