Skip to main content

List Different HTTP status codes

HTTP Status codes are issued by a server in response to a client's request made to the server. HTTP response status codes indicate whether a specific HTTP request has been successfully completed. 

All HTTP response status codes are separated into five classes or categories. The first digit of the status code defines the class of response, while the last two digits do not have any classifying or categorization role. There are five classes defined by the standard:

1xx: Informational: It means the request has been received and the process is continuing.
2xx: Success: It means the action was successfully received, understood, and accepted.
3xx: Redirection: It means further action must be taken in order to complete the request.
4xx: Client Error: It means the request contains incorrect syntax or cannot be fulfilled.
5xx: Server Error: It means the server failed to fulfill an apparently valid request.

HTTP status codes are extensible and HTTP applications are not required to understand the meaning of all the registered status codes. Given below is a list of all the status codes.

1xx Informational Response 2xx Success 3xx Redirection 4xx Client Error 5xx Server Errors
100 (Continue) 200 (OK) 300 (Multiple Choices) 400 (Bad Request) 500 (Internal Server Error)
101 (Switching Protocol) 201 (Created) 301 (Moved Permanently) 401 (Unauthorized) 501 (Not Implemented)
102 (Processing) 202 (Accepted) 302 (Found) 402 (Payment Required) 502 (Bad Gateway)
103 (Early Hints) 203 (Non Authorized Information) 303 (See Other) 403 (Forbidden) 503 (Service Unavailable)
  204 (No Content) 304 (Not Modified) 404 (Not Found) 504 (Gateway Timeout)
  205 (Reset Content) 305 (Use Proxy) 405 (Method Not Allowed) 505 (HTTP Version not supported)
  206 (Partial Content) 306 (Switch Proxy) 406 (Not Acceptable) 506 (Variant Also Negotiate)
107 (SSL Protocol Error) 207 (Multi Status) 307 (Temporary Redirect) 407 (Proxy Information Required) 507 (Insufficient storage)
  208 (Already Reported) 308 (Permanent Redirect) 408 (Request Timeout) 508 (Loop Detected)
      409 (Conflict)  
      410 (Gone) 510 (Not Extended)
      411 (Length Required) 511 (Network Authentication Required)
      412 (Precondition Failed)  
      413 (Request Entity Too Large)  
      414 (URL Too Long)  
      415 (Unsupported Media File)  
      416 (Requested Range not Satisfiable)  
      417 (Expectation Failed)  
      418 (I'm a Teapot)  
      421 (Misdirect Request)  
      422 (Unprocessable  Entity)  
      423 (Locked)  
      424 (Failed Dependency)  
  226 (IM Used)   426 (Upgrade Required)  
      428 (Precondition Required)  
      429 (Too Many Request)  
      431 (Request Header Field Too Large)  
      451 (Unavailable for legal reason)  
      460 (Client closed the connection with the load balancer before the idle timeout period elapsed.)  
      463 (The load balancer received an X-Forwarded-For request header with more than 30 IP addresses)  

Submitted by tgoswami on September 1, 2020

Tarun has 11+ years of experience in Quality Assurance in different domains like Banking, E-commerce, Health and Education.


At ProgramsBuzz, you can learn, share and grow with millions of techie around the world from different domain like Data Science, Software Development, QA and Digital Marketing. You can ask doubt and get the answer for your queries from our experts.