HTTP status codes
Updated 2026-02-09
Common HTTP response codes: 2xx success, 3xx redirect, 4xx client error, 5xx server error. REST and APIs.
1xx Informational
100 ContinueClient should continue or ignore if finished.
101 Switching ProtocolsServer switching protocol (e.g. WebSocket).
102 ProcessingProcessing continues (WebDAV).
103 Early HintsLink header for preloading.
2xx Success
200 OKRequest succeeded.
201 CreatedResource created (e.g. POST).
202 AcceptedAccepted for processing; not yet completed.
204 No ContentSuccess, no body (e.g. DELETE).
206 Partial ContentPartial content (range request).
3xx Redirect
301 Moved PermanentlyPermanent redirect; cacheable.
302 FoundTemporary redirect.
303 See OtherRedirect to another resource (usually GET).
304 Not ModifiedUse cached version (conditional GET).
307 Temporary RedirectTemporary redirect; method and body unchanged.
308 Permanent RedirectPermanent redirect; method and body unchanged.
4xx Client error
400 Bad RequestInvalid request body or params.
401 UnauthorizedAuthentication required.
403 ForbiddenNo permission.
404 Not FoundResource does not exist.
405 Method Not AllowedHTTP method not allowed for this resource.
408 Request TimeoutServer timed out waiting for request.
409 ConflictRequest conflicts with current state.
415 Unsupported Media TypePayload format not supported.
422 Unprocessable ContentSyntax valid but semantic errors.
429 Too Many RequestsRate limit exceeded.
5xx Server error
500 Internal Server ErrorServer-side failure.
501 Not ImplementedServer does not support the functionality.
502 Bad GatewayInvalid response from upstream.
503 Service UnavailableOverloaded or down.
504 Gateway TimeoutUpstream did not respond in time.
505 HTTP Version Not SupportedHTTP version not supported.