Skip to main content

Http Status Code

1×× Informational

2×× Success

3×× Redirection

4×× Client Error

5×× Server Error

https://httpstatuses.com

https://dev.to/khaosdoctor/the-complete-guide-to-status-codes-for-meaningful-rest-apis-conclusion-2pf8

Most Important Error Codes

Error CodeMeaning
400Bad Request -- Your request is invalid.
401Unauthorized -- Your API key is wrong.
403Forbidden -- The kitten requested is hidden for administrators only.
404Not Found -- The specified kitten could not be found.
405Method Not Allowed -- You tried to access a kitten with an invalid method.
406Not Acceptable -- You requested a format that isn't json.
410Gone -- The kitten requested has been removed from our servers.
418I'm a teapot.
429Too Many Requests -- You're requesting too many kittens! Slow down!
500Internal Server Error -- We had a problem with our server. Try again later.
503Service Unavailable -- We're temporarily offline for maintenance. Please try again later.