What are error codes?

Different error codes relates to different family of error and it is has some meaning related with it. These are also called as HTTP Status code. Usually you get a error while connecting with the server. The error code is displayed instead of the whole description. These error codes tells the user about the status of the server and the what type of error has encountered.

Given below is the main family of this error codes with its description. Each family of the codes contains the actual codes that are displayed while interacting with the server.

Family 1xx : Informational.

This means that the Request Received, Continuing process. This family indicates a provisional response, which consists of the status line and the headers. It is terminated by the empty line. HTTP/1.0 does not define any of the codes for this category (1xx status codes), servers also must not send the 1xx response to an HTTP/1.0 client. There are some exceptions where this codes are utilized (usually under experimental conditions)

Family 2xx : Success

It means The Action was successfully Received, understand and accepted. The status codes from this family indicates that the client’s request was received, understood, accepted successfully.

Family 3xx : Redirection

Further action must be taken in order to complete the request. Some times the user agent has to take some actions in order to complete the request. This acti0on can be carried out without the interaction of the user iff the method used in the second request is GET or HEAD. The user agent should never automatically redirect a request more than 5 times. Mostly this type of redirections indicate an infinite loop.

Given below is the example of the error code for family 4xx. Error 404 Page not Found. Although the error code for this type of error remains the same you can configure your personalized error message for the codes.


Family 4xx: The request contains bad syntax or cannot be fulfilled. This type of codes means that the client seems to be errored there are some exceptions when responding to a HEAD request, the server explains the error by keeping the entity in the response. These status codes are applicable to any request method.

Family 5xx: Server Error

The server Failed to fulfill an apparently valid request. All the response status codes beginning with the digit “5” indicates that the server knows the error or it can’t fulfill the request. Here also if the server is responding to the HEAD request it should include an entity explaining the error.

Scroll to Top