HTTP Status Codes Cheatsheet: Complete 1xx–5xx Reference
The complete HTTP response status codes guide with meanings, causes, and developer debugging advice.
2xx Success Codes
The request was successfully received, understood, and accepted.
Standard response for successful HTTP requests.
200The request succeeded and a new resource was created (common for POST requests).
201The server processed the request successfully but returns no content body (common for DELETE).
2043xx Redirection Codes
Further action needs to be taken by the user agent to fulfill the request.
The requested resource has been assigned a new permanent URI. Crucial for SEO migrations.
301Temporary redirect to a different URI.
302Indicates that the resource has not been modified since the version specified in If-Modified-Since headers.
304Temporary redirect that guarantees the HTTP method (GET/POST) does not change.
307Permanent redirect that guarantees the HTTP method does not change.
3084xx Client Error Codes
The request contains bad syntax or cannot be fulfilled by the client.
The server cannot process the request due to client error (e.g. malformed JSON body or invalid syntax).
400Authentication is required and has failed or has not yet been provided.
401The client does not have access rights to the content (unlike 401, server knows the client's identity).
403The server cannot find the requested resource. The most common error on the web.
404The request method is known by the server but not supported by the target resource (e.g. POST to a GET-only endpoint).
405The user has sent too many requests in a given amount of time (rate limited).
4295xx Server Error Codes
The server failed to fulfill an apparently valid request.
A generic error message indicating an unexpected condition occurred on the server.
500The server, while acting as a gateway or proxy, received an invalid response from an inbound server.
502The server is currently unable to handle the request due to maintenance or capacity overload.
503The gateway server did not receive a timely response from the upstream server.
504FAQ
Frequently Asked Questions
What is the difference between 401 Unauthorized and 403 Forbidden?
401 Unauthorized means you are unauthenticated (not logged in). 403 Forbidden means the server knows who you are, but you lack sufficient permissions to view the resource.