Common HTTP Error Codes

Common HTTPError Codes

Sometimes we encounter a situation where a website cannot be accessed, and it returns some error codes. Some common error codes include: 404, 503.

Tips

4xx (Client Error) These status codes indicate that there may be an error with the request, preventing the server from processing it.

400 (Bad Request) The server cannot understand the syntax of the request.401 (Unauthorized) The request requires authentication. For web pages that require login, the server may return this response.403 (Forbidden) The server refuses to fulfill the request.404 (Not Found) The server cannot find the requested web page.405 (Method Not Allowed) The method specified in the request is not allowed.406 (Not Acceptable) The requested content characteristics cannot be used to respond to the request.407 (Proxy Authentication Required) This status code is similar to 401 (Unauthorized), but indicates that the requester must authorize the use of a proxy.408 (Request Timeout) The server timed out waiting for the request.409 (Conflict) The server encountered a conflict while completing the request. The server must include information about the conflict in the response.410 (Gone) If the requested resource has been permanently removed, the server will return this response.

Tips

5xx (Server Error) These status codes indicate that the server encountered an internal error while trying to process the request. These errors may be due to issues with the server itself, rather than an error with the request.

500 (Internal Server Error) The server encountered an error and could not complete the request.501 (Not Implemented) The server does not have the capability to fulfill the request. For example, this code may be returned when the server cannot recognize the request method.502 (Bad Gateway) The server received an invalid response from an upstream server while acting as a gateway or proxy.503 (Service Unavailable) The server is currently unable to handle the request (due to overload or maintenance). This is usually a temporary state.504 (Gateway Timeout) The server, while acting as a gateway or proxy, did not receive a timely response from the upstream server.505 (HTTP Version Not Supported) The server does not support the HTTP protocol version used in the request.

Common HTTP Error Codes

Leave a Comment