1xx
The server has received the request headers and the client should proceed to send the request body.
Common cause/use: Large file upload pre-check (Expect: 100-continue).
1xx
The server is switching protocols as requested by the client.
Common cause/use: Upgrading an HTTP connection to a WebSocket.
2xx
The request succeeded.
Common cause/use: Standard response for successful GET, PUT, or POST requests.
2xx
The request succeeded and a new resource was created.
Common cause/use: Returned after creating a new record via POST.
2xx
The request has been accepted for processing, but processing is not yet complete.
Common cause/use: Async background jobs or webhook queues.
2xx
The server successfully processed the request and is not returning any content.
Common cause/use: DELETE or PUT endpoints that do not return a payload.
3xx
The URL of the requested resource has been changed permanently.
Common cause/use: SEO-safe permanent URL redirects.
3xx
The URI of requested resource has been changed temporarily.
Common cause/use: Temporary redirect during login flows.
3xx
Indicates the client's cached copy is still up to date.
Common cause/use: Browser caching with ETag or If-Modified-Since.
3xx
Temporary redirect that preserves the original HTTP method (e.g. POST stays POST).
Common cause/use: API maintenance redirects.
3xx
Permanent redirect that preserves the original HTTP method.
Common cause/use: Permanent API endpoint migration.
4xx
The server cannot process the request due to a client error (malformed syntax or invalid fields).
Common cause/use: Schema validation failure on request payload.
4xx
Authentication is required and has failed or has not yet been provided.
Common cause/use: Missing or expired Bearer token / session cookie.
4xx
The client is authenticated but does not have permission to access the resource.
Common cause/use: Role-based access control (RBAC) rejection.
4xx
The server cannot find the requested resource.
Common cause/use: Missing URL route or deleted database record.
4xx
The request method is known by the server but is not supported by the target resource.
Common cause/use: Sending POST to a GET-only endpoint.
4xx
The request conflicts with the current state of the server.
Common cause/use: Duplicate email registration or optimistic locking conflict.
4xx
Request entity is larger than limits defined by server.
Common cause/use: Uploading a file exceeding the maximum size limit.
4xx
The request was well-formed but could not be followed due to semantic errors.
Common cause/use: REST/GraphQL field validation errors.
4xx
The user has sent too many requests in a given amount of time.
Common cause/use: API rate-limiting and abuse protection.
5xx
The server encountered an unexpected condition that prevented it from fulfilling the request.
Common cause/use: Unhandled exception in backend code.
5xx
The server, while acting as a gateway or proxy, received an invalid response from an upstream server.
Common cause/use: Reverse proxy (Nginx/Cloudflare) cannot reach app server.
5xx
The server is not ready to handle the request.
Common cause/use: Server overloaded or down for scheduled maintenance.
5xx
The gateway or proxy did not receive a timely response from the upstream server.
Common cause/use: Slow database query exceeding proxy timeout.