HTTP Status Codes: A Complete Guide to the Most Common Error Codes
Tags: 404errorcode, httperrorcodes, 502badgatewayerror, 502error
Published: 2020-05-22 08:48:45

---
title: HTTP Status Codes: A Complete Guide to the Most Common Error Codes
published: true
description: Every time we want to visit a website, whether it is an online store to buy the latest mobile phone or check the movement of our bank account, you should enter the URL in the browser, or do a Google search. Once you click on the appropriate page, a request is made to the server to return the appropriate content and always returns the HTTP three-digit code.
tags: 404 Error Code, Http Error Codes, 502 Bad Gateway Error, 502 Error
---
Every time we want to visit a website, whether it is an online store to buy the latest mobile phone or check the movement of our bank account, you should enter the URL in the browser, or do a Google search. Once you click on the appropriate page, a request is made to the server to return the appropriate content and always returns the HTTP three-digit code.

Thanks to this HTTP status code, we can know whether our request has been completed correctly, or if there is an error that prevents the server from the back of content users or visitors trying to access.

If you have a web page is very important that you know and understand all of the different HTTP status codes that exist. These messages returned by the server is the best tool you can have to diagnose and solve certain problems or errors that may arise on your website.

For the avoidance of doubt, we will look forward to what is HTTP code, type of HTTP status codes that exist and most importantly HTTP code.
<h2>What is the HTTP status code?</h2>
HTTP status code is a message returned by the server each time the browser requests the server. If the server can restore the content requested by the browser, and no mistake, this HTTP code is not visible to users. Conversely, if something goes wrong, you will notice that the server returns an HTTP status code that indicates that something is not working as expected.

Depending on the status code returned by the server, we can get an idea of ​​the type of error that has occurred. That is why we say that when you have a web page is very important that you know the types of HTTP code so you can see what a mistake it was and quickly fix it.
<h3>Samples of HTTP codes</h3>
If the HTTP status code that is new to you, you will find that you are more used to seeing them when you try to access a web page than you think.

Do a 404 ring a bell? a very common mistake is still an HTTP status code that tells the user that the content they are trying to access is either not on the server or not available.
<h2>Response Types of HTTP Status Codes</h2>
<strong><a href="https://dev.to/anjankant/status-codes-http-status-codes-21k5" target="_blank" rel="noopener">HTTP status codes</a></strong> are standardized and listed in the Internet Assigned Numbers Authority (IANA) HTTP status code registry.

HTTP code is divided into five different categories and the first digit of the code allows you to identify what kind of response we are dealing with: informative responses, a successful response, redirects, error browser, and server errors.

<strong>1xx Status Code</strong>: This is an informative response and indicates that the browser can continue to make your request.
<strong>2xx status code</strong>: Association of 2xx code represents a satisfactory response, they merely indicate that the request is processed correctly, so ideally, all websites have returned HTTP code. Generally, as the request was successful, the status code is not displayed, the browser simply returns the user requested content.
<strong>3xx status code</strong>: HTTP Code refers to when the browser should perform additional actions, such as redirect.
<strong>4xx Codes Status</strong>: The status code beginning with a 4 refers to the errors generated by the web browser. In this case, users typically receive an HTML page in which they were told about the error.
<strong>5xx status code</strong>: HTTP Code also indicates an error, but on the webserver.
<h2>List of the Most Important HTTP codes</h2>
In each group the HTTP status code that we have seen before, various codes can be returned by the server.
<h3>1xx Status Codes</h3>
<strong>Code 100</strong> - Continue: This status did the notification code that the server has received the first request and waits to receive further instructions from the browser.
<strong>Code 101</strong> - Switching Protocols: It is used when the server receives the changes proposed by the browser. For example, changes from HTTP 1.0 to HTTP 1.1.
<strong>Code 102</strong> - Processing: The server has received the request but has not completed it. This is to prevent the browser from interpreting that the request has been lost, but not yet completed.
<strong>Code 103</strong> - Checkpoint: It is used to proceed with the request that was previously missing or cancelled.
<h3>2xx Status Codes</h3>
<strong>Code 200</strong> - OK: Used when the request was completed. As this code shows that "everything is fine" is not usually shown to the end-user.
<strong>Code 201</strong> - Created: browser inquiry has been completed successfully and the new resource has been created.
<strong>Code 203</strong> - Non-Authoritative Information: Query Browser is completed successfully, but corresponds to a different server to the content of the request is made.
<strong>Code 204</strong> - Not Contents: browser inquiry has been completed successfully, but the response does not display any content.
<strong>Code 205</strong> - the Content: It is used when a user request is complete, but need to reload the page. It is very common when data is sent through the contact form and the page is reloaded.
<strong>Code 206</strong> - Partial Content: It is used when the request is complete, but only part of the requested content is returned.
<strong>Code 207</strong> - Multi-Status: An XML file that contains several different responses are returned, depending on the requests made earlier.
<h3>3xx Status Codes</h3>
<strong>Code 300</strong> - Multiple Choices: Upon request, there is more than one option to access the same resources.
<strong>Code 301</strong> - Moved Permanently: The requested resource has been permanently moved and the browser automatically redirected to the new location. 301 is a good choice for Google to punish us if we have too many 404 errors on our website.
<strong>Code 302</strong> - Moved temporarily: The requested resource has been moved temporarily and the browser automatically redirected to the new location.
<strong>Code 303</strong> - Other View: This code indicates that the requested resource has been moved, but do not redirect.
<strong>Code 304</strong> - Not Modified: If a browser asks the server if the requested resource has been moved since the last visit, and it has not changed.
<strong>Code 305</strong> - Use Proxy: HTTP code is used when the requested resource must be obtained through a proxy location which is located in the header.
<strong>Code 306</strong> - Switch Proxy: This code is no longer used today, but it is reserved for cases in the future.
<strong>Code 307</strong> - Temporary Redirect: The resource requested by the browser can be obtained elsewhere, but only for this request. For the future demand for the original location can be used.
<strong>Code 308</strong> - Permanent Redirect: The resource requested by the browser in another location and change it permanently. Unlike the HTTP code 301, a new HTTP method for the request has not changed.
<h3>4xx Status Codes:</h3>
<strong>Code 400</strong> - Bad Request: The server did not understand the request because the syntax is not the correct browser.
<strong>Code 401</strong> - Unauthorized: The request made by the browser requires authentication.
<strong>Code 402</strong> - Payment Required: This is the HTTP code reserved for future use.
<strong>Code <a href="https://dev.to/josephtaylor/comment/l20f" target="_blank" rel="noopener">403 - Forbidden</a></strong>: The request made by the browser is correct, but access to the requested resource has been denied.
<strong>Code<a href="https://www.wpoven.com/blog/error-404-not-found/" target="_blank" rel="noopener noreferrer"> 404 not Found</a></strong>: The resources requested by the browser can not be found or is not available on the server. It is not possible to detect if the absence is temporary or permanent.
<strong>Code 405</strong> - Method Not Allowed: Browsers use the method to obtain resources that are not accepted by the server.
<strong>Code 406</strong> - Not Acceptable: The requested resource has a format that is not accepted by the browser.
<strong>Code 407</strong> - Proxy Authentification Required: A status code is similar to 401, but in this case, the first browser must authenticate with a proxy.
<strong>Code 408</strong> - Request Timeout: HTTP code is returned when the browser has taken so long to request that the server is no longer waiting for the request.
<strong>Code 409</strong> - Conflict: The request could not be completed because there was a conflict with the requested resource.
<strong>Code 410</strong> - Go: The requested resource could not be found and are not considered permanent presence. If there is a possibility that this is a temporary absence, HTTP code 404 should be used.
<strong>Code 411</strong> - Length Required: The server returns an HTTP code when a request does not include the appropriate "Content-Length" header.
<strong>Code 414</strong> - Request-URI Too Long: The URL that corresponds to the request was made too long to be processed. This occurs when an address has a lot of parameters.
<strong>Code 423</strong> - Locked: HTTP code is displayed when the requested resource is blocked.
<strong>Code 429</strong> - Too Many Requests: Browser makes so much demand within a certain period.
<h3>5xx Status Codes</h3>
Code 500 - Internal Server Error: The request made by the browser can not be completed as an unexpected error has occurred in the browser.
<strong>Code 501</strong> - Not implemented: The server does not support the functionality required to respond to requests made by the browser.
<strong>Code <a href="https://www.wpoven.com/blog/need-know-502-error-bad-gateway/" target="_blank" rel="noopener">502 Bad Gateway</a></strong>: The server can not respond to browser requests because it acts like a proxy server or gateway, or have a reverse proxy is installed and has received an invalid response from the server said.
<strong>Code 503</strong> - Service Unavailable: The server can not respond to a browser request for saturated or maintenance tasks are being done on it.
<strong>Code 504</strong> - Gateway Timeout: The server can not respond to browser requests because it acts like a proxy server or gateway, or have a reverse proxy server installed and response time says it has timed out.
<strong>Code 505</strong> - HTTP Version Not Supported: The server does not support the HTTP protocol version used in the browser request.
<strong>Code 509</strong> - Bandwidth Limit Exceeded: It is widely used in the HTTP code cPanel and displayed when the bandwidth limit has been reached and the request could not be processed.
<strong>Code 510</strong> - Not Renewed: This code is displayed when necessary to add an extension to the server so that it can process the request.
<strong>Code 511</strong> - Network Authentification Required: Browser must authenticate itself to make a request.
<h2>Summing Up</h2>
Knowing and understanding the different HTTP code that the server can back it is important to detect and troubleshoot possible errors on your website. Furthermore, this status code plays a fundamental role in the position of your website SEO.