Skip to content
On this page

Response status codes

Introduction

HTTP status codes are standard response codes given by web servers to indicate the outcome of a client's request. These codes are grouped into five categories, each representing a different type of response:

  • 1xx (Informational):
    Request received, continuing process
  • 2xx (Success):
    The request was successfully received, understood, and accepted
  • 3xx (Redirection):
    Further action needs to be taken to complete the request
  • 4xx (Client Errors):
    The request contains bad syntax or cannot be fulfilled
  • 5xx (Server Errors):
    The server failed to fulfill a valid request

Standard status codes

Below is a table categorizing all standard HTTP status codes:

CategoryCodeMeaning
1xx Informational100Continue
101Switching Protocols
102Processing
103Early Hints
2xx Success200OK
201Created
202Accepted
203Non-Authoritative Information
204No Content
205Reset Content
206Partial Content
207Multi-Status
208Already Reported
226IM Used
3xx Redirection300Multiple Choices
301Moved Permanently
302Found
303See Other
304Not Modified
305Use Proxy
306(Unused)
307Temporary Redirect
308Permanent Redirect
4xx Client Errors400Bad Request
401Unauthorized
402Payment Required
403Forbidden
404Not Found
405Method Not Allowed
406Not Acceptable
407Proxy Authentication Required
408Request Timeout
409Conflict
410Gone
411Length Required
412Precondition Failed
413Payload Too Large
414URI Too Long
415Unsupported Media Type
416Range Not Satisfiable
417Expectation Failed
418I'm a Teapot
421Misdirected Request
422Unprocessable Entity
423Locked
424Failed Dependency
425Too Early
426Upgrade Required
428Precondition Required
429Too Many Requests
431Request Header Fields Too Large
451Unavailable For Legal Reasons
5xx Server Errors500Internal Server Error
501Not Implemented
502Bad Gateway
503Service Unavailable
504Gateway Timeout
505HTTP Version Not Supported
506Variant Also Negotiates
507Insufficient Storage
508Loop Detected
510Not Extended
511Network Authentication Required

Released under the MIT License.