HTTP Status Codes
Complete reference guide to every HTTP status code. Each entry explains what the code means, what causes it, and how to fix it — from informational 1xx to server error 5xx responses.
1xx — Informational responses — request received, continuing process
2 status codes
2xx — Success — request successfully received, understood, and accepted
3 status codes
3xx — Redirection — further action needed to complete the request
5 status codes
301 Moved Permanently
The requested resource has been permanently moved to a new URL.
302 Found (Temporary Redirect)
The requested resource is temporarily located at a different URL.
304 Not Modified
The resource has not been modified since the last request, use the cached version.
307 Temporary Redirect
The resource is temporarily at a different URL — preserve the HTTP method.
308 Permanent Redirect
The resource has been permanently moved — preserve the HTTP method.
4xx — Client Error — request contains bad syntax or cannot be fulfilled
9 status codes
400 Bad Request
The server cannot process the request due to client-side input errors.
401 Unauthorized
Authentication is required but was missing or invalid.
403 Forbidden
The client is authenticated but does not have permission to access the resource.
404 Not Found
The requested resource could not be found on the server.
405 Method Not Allowed
The HTTP method used is not allowed for this resource.
408 Request Timeout
The server timed out waiting for the client to send the complete request.
413 Payload Too Large
The request body exceeds the server's maximum allowed size.
422 Unprocessable Entity
The request has valid syntax but contains semantic validation errors.
429 Too Many Requests
The client has exceeded the rate limit and should slow down.
5xx — Server Error — server failed to fulfill a valid request
4 status codes
500 Internal Server Error
The server encountered an unexpected condition that prevented it from fulfilling the request.
502 Bad Gateway
The server acting as a gateway received an invalid response from an upstream server.
503 Service Unavailable
The server is temporarily unable to handle the request, typically due to maintenance or overload.
504 Gateway Timeout
The server acting as a gateway did not receive a timely response from an upstream server.