Status codes
The ones worth knowing — correct usage, common misuse, and a joke so they actually stick.
1xxInformational
2xxSuccess
3xxRedirection
4xxClient error
- 400Bad RequestThe request's fault. It made no sense.
- 401UnauthorizedWho are you? Authentication failed or is missing.
- 403ForbiddenI know who you are. The answer is still no.
- 404Not FoundIt's not here. Maybe it never was.
- 409ConflictYour change collided with the current state.
- 410GoneIt used to be here. It is not coming back.
- 418I'm a TeapotThe server refuses to brew coffee because it is, permanently, a teapot.
- 422Unprocessable EntityThe request was well-formed but semantically wrong.
- 429Too Many RequestsStop. Breathe. Try again later.
- 451Unavailable For Legal ReasonsWe can't show you this — legally.
5xxServer error
- 500Internal Server ErrorIt's not you. It's us. Something threw.
- 501Not ImplementedWe haven't built that. And may never.
- 502Bad GatewayThe proxy asked the server, and got garbage back.
- 503Service UnavailableWe're down for a sec. Retry-After tells you how long.
- 504Gateway TimeoutThe upstream took too long. Time's up.