The Five Most Common HTTP Errors According to Google - Pingdom (2024)

Last updated: February 28, 2024

Sometimes when you try to visit a web page, you’re met with an HTTP error message. It’s a message from the web server that something went wrong. In some cases, it could be a mistake you made, but often, it’s the site’s fault.

Each type of error has an HTTP error code dedicated to it. If you try to access a non-existing page on a website it leads to a 404 error.

Now, you might wonder, which are the most common HTTP errors that people encounter when they surf the Web? That is the question we’ll answer in this article.

Google to the Rescue

We asked Google “5 most common HTTP errors” and this is what it gave us:

The Five Most Common HTTP Errors According to Google - Pingdom (1)

This is the result of millions of web users telling us themselves what errors they encounter the most.

People who encounter errors when they visit websites want to know more about that error. They’ll probably go to the nearest search engine to do so.

For this, Google’s search statistics should give us a pretty good idea of how the most common HTTP errors compare amongst themselves. It’s a great tool for estimating the “popularity” of search terms.

Using Google Insights for Search we went through the above most common five HTTP error codes and compared them against each other. For this comparison, we chose the location “worldwide”. The period included all searches in 2023, and the type of search was limited to web search. When the dust settled from this little shootout, this is what we had:

The Five Most Common HTTP Errors According to Google - Pingdom (2)

Note: Read our analysis on how Google collects data about the Internet and its users to understand better how Google works.

The Top Five Errors, According to Google

Here they are, listed and explained in reverse order, the five most common HTTP errors. Drumroll, please…

5. HTTP Error 403 (Forbidden)

This error is similar to the 401 error, but note the difference between unauthorized and forbidden. In this case, no login opportunity was available. This can happen, for example, if you try to access a (forbidden) directory on a website.

To resolve an HTTP 403 error, the client or user should typically:

  • Ensure they are using valid and authenticated credentials if required.
  • Confirm they have the necessary permissions to access the resource.

If IP blocking is suspected, ensure their IP address is not restricted.

4. HTTP Error 401 (Unauthorized)

This error happens when a website visitor tries to access a restricted web page but isn’t authorized to do so. The reason for this error is usually because of a failed login attempt. However, there can be more than one reason why this error occurs. Let’s look at the common ones:

  1. Logging In: When a user tries to access a protected resource without being logged in, the server responds with a 401 error, prompting the user to provide their login credentials.
  1. Client Authentication Required: This happens when the client that requests a certain resource from the server tries to request it without any authentication. In this case, the server indicates that the client must authenticate itself to get the requested resource by throwing the 401 error. This can happen if the client needs to provide a username and password or some other form of authentication token which is currently missing in the request.
  1. Lack of Credentials: Another common reason for this error is that the client hasn’t provided valid authentication credentials in the request. These credentials are typically sent in the request header. For instance, methods like Basic Authentication (username and password), Bearer Token (OAuth 2.0), or API keys.
  1. Invalid Credentials: In some cases even when the client does provide credentials, they could be invalid or expired. The server will then respond with a 401 error. In this case, the client should reauthenticate and send the request again with valid credentials.
  1. Insufficient Permissions: Sometimes even with valid authentication credentials the server may return a 401 error. This maybe because the client doesn’t have the correct or necessary permissions to access this resource. In order to get through this, the client should request for the necessary permissions to access the resource.
The Five Most Common HTTP Errors According to Google - Pingdom (3)

3. HTTP Error 404 (Not Found)

Most people are bound to recognize this one. A 404 error happens when you try to access a resource on a web server (usually a web page) that doesn’t exist. Some reasons for this can be a broken link, a mistyped URL, or that the webmaster has moved the requested page somewhere else (or deleted it). To counter the ill effects of broken links, some websites set up custom pages for them (and some of those are really cool).

Some of the common causes for this error include:

  • The URL in the client’s request is misspelt or contains a typographical error.
  • The requested resource has been deleted or moved to a different location.
  • The server’s configuration is incorrect, preventing it from serving the requested resource.
  • The resource never existed on the server.

Some common techniques can help in resolving an HTTP 404 error quickly:

  • Double-check the URL to ensure there are no typographical errors.
  • Verify that the resource being requested actually exists on the server and is accessible at the specified URL.
  • If the resource has been moved, update the URL accordingly.
  • If the error persists on a website, the website owner or administrator should ensure that their server’s configuration is correct and that any deleted or moved resources are appropriately redirected or handled.

If you aren’t managing 404 errors on your website properly, it can have a negative effect on your website’s search engine ranking. It can also hamper the overall user experience of your website. Ensure that you have a dedicated “Not Found” page that appears to your users and lets them know that the web page they’re trying to access is not available.

2. HTTP Error 400 (Bad Request)

This is basically an error message from the web server telling you that your application (e.g., your web browser) accessed it incorrectly or that the request was somehow corrupted on the way. This can happen due to one or more of the following reasons:

  1. Malformed Request: The most common reason for a 400 Bad Request error is that the request is malformed. The client’s HTTP request does not conform to the HTTP protocol’s standards. This could be due to the following:
  • Missing or improperly formatted headers.
  • Invalid or missing request parameters.
  • Unsupported HTTP methods (e.g., using POST when GET is expected).
  • Incorrect content length or content type headers.
  1. Security Concerns: A 400 error may be used by the server to protect against potential security threats. For instance, requests with extremely long URLs could be used for denial-of-service attacks.

Some common techniques can help in resolving an HTTP 400 error quickly:

  • Ensure the request’s syntax adheres to the HTTP standard.
  • Verify that all required headers and parameters are included and correctly formatted.
  • Ensure the correct HTTP method (GET, POST, PUT, DELETE, etc.) is used to access the resource
The Five Most Common HTTP Errors According to Google - Pingdom (4)

1. HTTP Error 500 (Internal Server Error)

The description of this error pretty much says it all. It’s a general-purpose error message for when a web server encounters some form of internal error. For example, the web server could be overloaded and therefore unable to handle requests properly.

There are various reasons why an HTTP 500 error might occur, including:

  • Software bugs or programming errors in the server code.
  • Overloaded or under-resourced server infrastructure.
  • Issues with the server’s configuration.
  • Database connection problems.
  • Unexpected exceptions or crashes in server applications.

Resolving an HTTP 500 error typically involves troubleshooting and debugging on the server side. Actions that can be taken include:

  • Checking server logs for detailed error information.
  • Identifying and fixing software bugs or configuration issues.
  • Ensuring that the server infrastructure is properly configured and adequately resourced.
  • Addressing any database or application-specific problems.

HTTP Error Code Cheat Sheet

When dangling with HTTP errors, a cheat sheet can come in handy for figuring out which HTTP error you’re dealing with and what it really means.

.As a primer, any HTTP status code in the form of 2XX is not erroneous, instead, it indicates a successful request and response. We can say the same thing for 3xx, however, from an end user perspective it might seem like an error code. Any status code in the form of 4xx or 5xx is definitely erroneous.

Here’s the cheat sheet which summarises this:

The Five Most Common HTTP Errors According to Google - Pingdom (5)

Some Additional Comments on Website Errors

We want to point out that all the error messages above are errors reported by the web server back to the visitor (that is the nature of HTTP errors; they come from the web server you are accessing).

Needless to say, if you can’t access a website at all—for example, if it’s network that is down—you won’t get an HTTP error back. Your connection attempt will simply time out.

We should add that the results from Google actually match our own data quite well. As you might know, we here at SolarWinds® Pingdom® monitor websites and servers for a living (you can set up your own account by clicking here). When helping customers with problems, we have often come upon the dreaded (and pretty vague) HTTP error 500, “internal server error.”

If you want to deliver a top-notch experience for your website users, learn how to analyze and improve page load performance.

Related Posts

  • 404 in Google

    Tech Musings

  • Tech ain’t that hot on Google

    Tech Musings

  • Google Drive is finally live

    Tech Musings

The Five Most Common HTTP Errors According to Google - Pingdom (2024)

FAQs

The Five Most Common HTTP Errors According to Google - Pingdom? ›

Status Code 404 – The most common status code the average user will see. A status code 404 occurs when the request is valid, but the resource cannot be found on the server.

What is the most common HTTP error code? ›

Status Code 404 – The most common status code the average user will see. A status code 404 occurs when the request is valid, but the resource cannot be found on the server.

What is the HTTP error? ›

HTTP status codes are 3-digit codes (like 200 OK, or 404 Not Found) sent from a web server to let people and search engines know if there were any mistakes in the request or any problems with the server trying to process the request.

What is a HTTPError? ›

HTTPError is a class in the Python urllib library that represents an HTTP error. An HTTPError is raised when an HTTP request returns a status code that represents an error, such as 4xx (client error) or 5xx (server error).

What are 5xx errors? ›

A 5xx error means “an error number starting with 5”, such as 500 or 503. 5xx errors are server errors—meaning the server encountered an issue and is not able to serve the client's request. 5xx errors can be encountered when: A user browses a website and the web server is experiencing an error.

What are the most common versions of HTTP? ›

Summary of HTTP milestone versions
VersionYear introducedSupport in August 2024
HTTP/1.01996100%
HTTP/1.11997100%
HTTP/2201566.2%
HTTP/3202230.9%
1 more row

How to fix a HTTP error? ›

The possible fixes for this issue are:
  1. Refreshing the page.
  2. Clearing the browser cache and cookies.
  3. Loading the page with a different network.
  4. Resetting permissions for files and folders.
  5. Updating the PHP version.
  6. Regenerating the . htaccess file or correcting errors in the . ...
  7. Disabling the third-party plugins.
Nov 30, 2022

What is the most common error 404? ›

A 404 error happens when you try to access a resource on a web server (usually a web page) that doesn't exist. Some reasons for this can be a broken link, a mistyped URL, or that the webmaster has moved the requested page somewhere else (or deleted it).

What is an HTTP connection error? ›

An HTTP request can fail because of a network error or because of problems encountered while the request is executing on the web server.

What is the 500 code? ›

Error 500, also known as the Internal Server Error, is a common HTTP status code that indicates an issue on the web server's side.

How to fix website errors? ›

When your website is not loading, here are the 10 most common troubleshooting steps to solve it:
  1. Check if the website is down. ...
  2. Check the internet connection. ...
  3. Use a different device. ...
  4. Analyze the error message. ...
  5. Switch to another web browser. ...
  6. Verify the DNS records. ...
  7. Check the error logs. ...
  8. Use developer tools.

How do I know if a website has errors? ›

Find Errors
  1. SortSite is an automated tool that scans your website for device compatibility and accessibility. ...
  2. SortSite is a tool that stood out to us and gave us good results. ...
  3. This simple test works very similarly to the desktop browser test, but gives much more useful data than just a screenshot.

What are HTTP 400 errors? ›

The HTTP 400 Bad Request client error response status code indicates that the server would not process the request due to something the server considered to be a client error. The reason for a 400 response is typically due to malformed request syntax, invalid request message framing, or deceptive request routing.

What does 404 mean in HTTP? ›

The 404 code means that a server could not find a client-requested webpage. Variations of the error message include "404 Error," "404 Page Not Found" and "The requested URL was not found." This 404 error page shows the user the error code, what it means and potential ways to navigate around it.

Is HTTP 304 an error? ›

What is 304 Not Modified Response? The 304 Not Modified HTTP server response code indicates that the requested resource has not been modified since the last time it was loaded, and there's no need to transfer it again. For browsers, this means that the cached version of the resource can be shown to the user.

What is the difference between 404 and 204? ›

The HTTP Status 204 means that it's a successful request, but doesn't have a response body, while the 404 means the resource doesn't exist.

Top Articles
Latest Posts
Article information

Author: Wyatt Volkman LLD

Last Updated:

Views: 6672

Rating: 4.6 / 5 (66 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Wyatt Volkman LLD

Birthday: 1992-02-16

Address: Suite 851 78549 Lubowitz Well, Wardside, TX 98080-8615

Phone: +67618977178100

Job: Manufacturing Director

Hobby: Running, Mountaineering, Inline skating, Writing, Baton twirling, Computer programming, Stone skipping

Introduction: My name is Wyatt Volkman LLD, I am a handsome, rich, comfortable, lively, zealous, graceful, gifted person who loves writing and wants to share my knowledge and understanding with you.