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.

    400_Bad_Request
  • 401 Unauthorized
    Authentication is required.

    401_Unauthorized
  • 403 Forbidden
    The server understood the request but refuses to authorize it.

    403_Forbidden
  • 404 Not Found
    The requested resource doesn't exist.

    404_Not_Found

5xx Server Errors

  • 500 Internal Server Error
    A generic error message, given when no specific error applies.

    500_Internal_Server_Error
  • 502 Bad Gateway
    The server received an invalid response from an upstream server.

    502_Bad_Gateway
  • 503 Service Unavailable
    The server is temporarily unable to handle the request.

    503_Service_Unavailable
  • 504 Gateway Timeout
    The server didn't receive a timely response from an upstream server.

    504_Gateway_Timeout

For more examples and explanations, check out our HTTP Status Code Examples guide. 📚🔧