You are browsing some sites or testing your own web applications, and suddenly you receive a white screen with some error number ! No worries, if you are getting some error message means, your web server and web browser is helping you to resolve the issue with those error codes.
There are more than 30 HTTP error codes in total but you don’t need all of them. HTTP response status codes indicate whether a specific HTTP request has been successfully completed or not.
Responses are grouped in five groups as below:
And just remember below error / status codes as those are very common items.
No error and the request has succeeded.
The URI of the requested resource has been changed permanently.
The URI of requested resource has been changed temporarily. New changes in the URI might be made in the future. Therefore, this same URI should be used by the client in future requests.
Due to invalid syntax, server could not understand the request.
Something wrong with authorization or access key; client doesnt have enough permission to access the resource. (API Keys, OAuth etc)
Server cannot find the resource requested; a bad syntax or wrong request.
The server timed out waiting for the request.
Too many requests in a given time window.
The server has encountered a situation it doesn’t know how to handle.
The server was acting as a gateway or proxy and received an invalid response from the upstream server.
The server is not ready to handle the request.
When server is acting as a gateway and cannot get a response in time.
Disclaimer: The views expressed and the content shared are those of the author and do not reflect the views of the author's employer or techbeatly platform.