List of All HTTP Status Codes and Error Messages
Have you ever wondered what all those numbers that you see on web pages when something goes wrong are about? In this post, we will make a detailed list of all the common HTTP status codes and what they mean.
When a user initiates the process of opening a web page within a web browser such as Chrome, Firefox, Safari or others by typing an URL in the browser's address bar or clicks on a link on another web page, the browser sends an HTTP (HyperText Transfer Protocol) request to the server, where the website is hosted.
Depending on the success or failure of this request, the browser will receive a response from the server, which is designated by a status code such as the ones you may be familiar with like 403, 404 or 500. In cases of successful response, you usually won't see the status code, as it will be returned to the browser in the background and logged in its console. But in cases of failures and errors, such as typing a wrong website address, trying to access a non-existent page, trying to open a directory where you have no permission or server is not found, the status code will be displayed noticeably in the browser window, based on how the browser or the web page handles the displaying of errors.
The HTTP responses, hence the status codes, are grouped in five categories based on the information they provide:
- 1xx codes (status codes that start with 1) are used for information related responses,
- 2xx codes are used for success related responses,
- 3xx codes are used for redirection related responses
- 4xx codes are used for client (browser) error related responses
- 5xx codes are used for server error related responses.
A detailed list of HTTP status code definitions can be found on W3.org, in section 10 of the Hypertext Transfer Protocol - HTTP/1.1 document. You can also check IANA's HTTP Status Code Registry if you like reading detailed technical specifications.
Now, let's see all the HTTP status codes and their meanings in the table below.
HTTP Status Codes List
The following is a complete list of HTTP 1.1 status codes (responses) that are universally accepted and understood by the web browsers.
|1xx: Informational Responses|
|2xx: Success Responses|
|3xx: Redirection Responses|
|4xx: Client Error Responses|
|405||Method Not Allowed|
|407||Proxy Authentication Required|
|413||Payload Too Large|
|414||URI Too Long|
|415||Unsupported Media Type|
|416||Range Not Satisfiable|
|429||Too Many Requests|
|431||Request Header Fields Too Large|
|451||Unavailable For Legal Reasons|
|5xx: Server Error Responses|
|500||Internal Server Error|
|505||HTTP Version Not Supported|
|506||Variant Also Negotiates|
|511||Network Authentication Required|
Also Check: Full List of File MIME Types
Some of the HTTP errors are temporary and sometimes a simple page refresh may fix the issue and get rid of the error, allowing you to continue browsing the website. In some other cases, the errors will be permanent and you won't be able to access the page, until the issue is fixed or you are granted access.
Note that, monitoring the status codes in your website traffic and server logs is important in terms of SEO, to ensure that your website functions properly and it is visited and indexed by search engines with no issues.
I hope that this complete list of HTTP status codes will help you while browsing online and/or while managing your website./p>
More Server Tips
Top 5 Free IP Address Lookup Sites How to Check If cURL is Enabled on Your Server Apache Localhost Loading Very Slow: Here is the Solution How to Set FTP Quota for an FTP Account Apache vs. Apache Lounge: Which One to Choose? How to Install Apache HTTP Server on Windows: The Apache Lounge Version How to Install Apache HTTP Server on Windows How to Download the .ftpquota File What is the Use of .ftpquota File? How to Prevent Search Engines from Indexing Your Web Pages and FilesServer Tips