If you’ve spent any amount of time online browsing websites, chances are, that at one point or another, you have experienced a dreaded website HTTP error message/page of some type. But did you know that each type of website error has a specific HTTP error code associated with it? The error message (HTTP error code) you get could be among a number of possibilities, each one of which is supposed to inform you (sometimes in a very general sense), what went wrong.
So, here are 5 common website (HTTP) errors you might encounter.
404 Page Not Found Error
The 404 Page Not Found Error is arguably one of the most common website errors you may encounter. As the name implies, the 404 means that the page you were hoping to access cannot be found. In the web industry, we often describe this type of error as the requested resource (i.e. the web page) does not exist. There could be a number of reasons you encounter a 404 error, such as a mistyped web address (URL); a web page that was deleted; a web page whose URL has been changed.
403 Forbidden Error
The 403 Forbidden Error simply indicates that access to the “resource” (page, image, etc.) is not permitted. In other words, the web server understands the request from a web browser, but denies the request. This error occurs primarily for two reasons: Incorrect file/folder permissions or an error within the .htaccess file.
504 Gateway Timeout Error
A 504 gateway timeout error is a type of error that usually occurs when there is a server-side malfunction. Unfortunately, a 504 error doesn’t tell you specifically what type of malfunction has occurred. The possible reasons could be a recent DNS change; a server issue – the server could be down or have a connectivity problem; or a firewall issue.
500 Internal Server Error
A 500 Internal Server Error is simply a generalized error message indicating that the web server had some type of internal issue. Typically, what this means is that the web server is down. One possible cause for this type of error could be an unusually large amount of web traffic to the site at the same time.
400 Bad Request Error
Simply put, the 400 Bad Request Error or HTTP Error 400 is a non-specific “client” error that is returned when a request sent to the web server cannot be understood. This is usually due to a URL string syntax error, expired or invalid browser cookies, DNS lookup cache issue, etc.