HTTP Status Codes Reference — 2xx, 3xx, 4xx & 5xx Diagnostic Guide

Complete reference for HTTP response status codes. Understand server responses, client errors, redirects, and debugging steps.

2xx Success Codes

200 OK

Standard response for successful HTTP requests (GET/POST/PUT)

201 Created

Request succeeded and resulted in a new resource being created (POST/PUT)

204 No Content

Server successfully processed request but returns no response body (DELETE)

3xx Redirection Codes

301 Moved Permanently

Target resource has been assigned a new permanent URI (transfers SEO link equity)

302 Found

Temporary redirect (search engines will not transfer page rank)

304 Not Modified

Cached version is fresh and client can use cached resource directly without redownloading

4xx Client Error Codes

400 Bad Request

Server cannot process request due to client syntax error or invalid payload

401 Unauthorized

Authentication is required and has failed or has not yet been provided

403 Forbidden

Server understood request but refuses to authorize it (lacks permissions)

404 Not Found

Server cannot find requested resource at the specified path

429 Too Many Requests

User has sent too many requests in a given time period (rate limited)

5xx Server Error Codes

500 Internal Server Error

Generic error message when an unexpected condition occurred on the backend

502 Bad Gateway

Server acting as gateway/proxy received an invalid response from upstream backend

503 Service Unavailable

Server is currently unable to handle request due to temporary overloading or maintenance

504 Gateway Timeout

Server acting as gateway/proxy did not receive a timely response from upstream server