Back to homepage

HTTP Status Codes Overview

18 Apr 2025

A practical reference for 2xx, 3xx, 4xx, and 5xx responses with real-world meaning.

HTTP status codes are grouped by first digit:

RangeTypeResponsibility
1xxInformationalOngoing communication
2xxSuccessEverything is OK
3xxRedirectionFurther action needed
4xxClient ErrorUsually request-side issue
5xxServer ErrorServer-side issue

2xx Success

Common examples:

  • 200 OK
  • 201 Created
  • 204 No Content

4xx Client Errors

Common examples:

  • 400 Bad Request
  • 401 Unauthorized
  • 403 Forbidden
  • 404 Not Found
  • 429 Too Many Requests

5xx Server Errors

Common examples:

  • 500 Internal Server Error
  • 502 Bad Gateway
  • 503 Service Unavailable
  • 504 Gateway Timeout

Use status codes as part of API design and debugging strategy, not just as incidental values.