HTTP error status codes are standardized responses from servers to indicate the result of a client's request. Here's a concise guide to common error codes:
4xx Client Errors
400 Bad Request
The server couldn't understand the request.401 Unauthorized
Authentication is required.403 Forbidden
The server understood the request but refuses to authorize it.404 Not Found
The requested resource doesn't exist.
5xx Server Errors
500 Internal Server Error
A generic error message, given when no specific error applies.502 Bad Gateway
The server received an invalid response from an upstream server.503 Service Unavailable
The server is temporarily unable to handle the request.504 Gateway Timeout
The server didn't receive a timely response from an upstream server.
For more examples and explanations, check out our HTTP Status Code Examples guide. 📚🔧