Client-side errors are problems with the request or the visitor's browser, not with the server. On a website they show up as a 4xx status code, such as 404 Not Found, or as a JavaScript error that stops part of a page from working.
The common 4xx codes at a glance
Each code points to a different fix. This table shows what it means for your site and the first thing to check.
| Code | What it means for your site | First thing to check |
|---|---|---|
| 400 Bad Request | The server could not read the request, often a broken link, a form with odd input or a damaged cookie. | Open the address again by hand and clear the cookies for your site. |
| 401 Unauthorized | The page asks for a login and the visitor did not send a valid one. | Check whether that page should be protected at all. Steps: how to fix a 401 error. |
| 403 Forbidden | The server understood the request and still says no, so logging in does not help. | Check the folder or file permissions and any rule that blocks visitors or countries. |
| 404 Not Found | There is no page at that address, usually after a page was moved, renamed or deleted. | Fix the link that points there or add a 301 redirect. Steps: what a 404 error is and how to fix it. |
| 410 Gone | The page was removed on purpose and will not come back. | Make sure no menu or internal link still points to it. |
| 429 Too Many Requests | One visitor or bot sent too many requests in a short time and is slowed down. | Look for a script, form or bot that sends requests in a loop. |
Getting a 5xx code instead, such as 500 or 503? That is a server-side error: the server failed on a valid request. Start with how to fix a 500 internal server error.
What client-side errors mean for your visitors
Client-side errors occur when there’s an issue on the user’s end, typically in their browser or device, that prevents a webpage from loading or functioning properly. These errors often happen due to problems with the web application, broken JavaScript, incorrect HTML or CSS, or network connectivity issues. When such errors happen, they are typically displayed as a message or code on the website, which can indicate that something needs to be addressed on the user’s end to access the site properly.
Client-side errors are important because they can affect individual users' experience on a website. Fixing these errors often involves troubleshooting the user’s device, browser settings, or network, ensuring that content loads correctly and improving overall usability.
Frequently asked questions
What are examples of client-side errors?
Common examples are HTTP 4xx status codes such as 400 Bad Request, 403 Forbidden and 404 Not Found, and JavaScript errors that stop part of a page from working in the browser.
What is the difference between client-side and server-side errors?
A client-side error comes from the request or the browser, for example a wrong address or a missing permission. A server-side error, such as 500 or 503, means the server failed to handle a request that was valid.
How do I fix a 404 error on my website?
Find the page that links to the missing address and correct the link, or redirect the old address to the page that replaced it. A 301 redirect sends both visitors and search engines to the right page. The full steps are in what a 404 error is and how to fix it.