Utilumo
LightDarkSystem

Updated June 26, 2026

HTTP status codes

HTTP status codes are three-digit responses a server returns for each request. The first digit sets the class: 1xx informational, 2xx success, 3xx redirection, 4xx client error, and 5xx server error.

1xx — Informational

The request was received and the process is continuing.

CodeNameMeaning
100ContinueThe client should continue sending the request body.
101Switching ProtocolsThe server agrees to switch protocols, for example to WebSocket.
103Early HintsSends preliminary headers so the browser can start preloading resources.

2xx — Success

The request was received, understood, and accepted.

CodeNameMeaning
200OKStandard success response with a body.
201CreatedThe request succeeded and a new resource was created.
202AcceptedAccepted for processing, but not yet completed.
204No ContentSuccess with no response body to return.
206Partial ContentPart of the resource is returned, used for range requests and resumable downloads.

3xx — Redirection

Further action is needed to complete the request.

CodeNameMeaning
301Moved PermanentlyThe resource has a new permanent URL; update links and bookmarks.
302FoundTemporary redirect; the original URL should still be used in future.
303See OtherRedirect to another URL using a GET request, often after a form POST.
304Not ModifiedThe cached copy is still valid; no body is sent.
307Temporary RedirectLike 302, but the method and body must not change.
308Permanent RedirectLike 301, but the method and body must not change.

4xx — Client error

The request was malformed or not allowed.

CodeNameMeaning
400Bad RequestThe server could not understand the request, often a syntax error.
401UnauthorizedAuthentication is required and has failed or is missing.
403ForbiddenAuthenticated but not allowed to access the resource.
404Not FoundThe resource does not exist at this URL.
405Method Not AllowedThe HTTP method is not supported for this resource.
409ConflictThe request conflicts with the current state, such as a version clash.
410GoneThe resource was deliberately removed and will not return.
422Unprocessable ContentThe request was well-formed but failed validation.
429Too Many RequestsThe client has sent too many requests and is being rate limited.

5xx — Server error

The server failed to fulfil a valid request.

CodeNameMeaning
500Internal Server ErrorA generic, unexpected server-side failure.
501Not ImplementedThe server does not support the functionality required.
502Bad GatewayAn upstream server returned an invalid response.
503Service UnavailableThe server is overloaded or down for maintenance.
504Gateway TimeoutAn upstream server did not respond in time.
301 vs 302Use 301 when a URL has moved for good so search engines transfer ranking to the new address. Use 302 or 307 for a temporary move where the original URL should keep its value.

References

Questions

What is the difference between 401 and 403?

401 Unauthorized means you are not authenticated, so logging in may help. 403 Forbidden means you are authenticated but still not allowed, so logging in will not change anything.

Is 404 a server error?

No. 404 is a 4xx client error: the request reached the server fine, but the resource does not exist at that URL.