HTTP Status Codes

Table of contents
- 🔵Informational (1xx)—Communicates transfer protocol-level information.
- 🟢Success (2xx)—Indicates that the client’s request was accepted successfully.
- 🟡Redirection (3xx)—Indicates that the client must take some additional action in order to complete their request.
- 🔴Client Errors (4xx)—This category of error status codes points the finger at clients.
- 🟣Server Errors (5xx)—The server takes responsibility for these error status codes.

🔵Informational (1xx)—Communicates transfer protocol-level information.
100 - CONTINUE
101 - SWITCHING PROTOCOLS
102 - PROCESSING
103 - EARLY HINTS
104 - UPLOAD RESUMPTION SUPPORTED
105-199 - UNASSIGNED
🟢Success (2xx)—Indicates that the client’s request was accepted successfully.
200 - OK
201 - CREATED
202 - ACCEPTED
203 - NON-AUTHORITATIVE INFORMATION
204 - NO CONTENT
205 - RESET CONTENT
206 - PARTIAL CONTENT
207 - MULTI-STATUS
208 - ALREADY REPORTED
209-225 - UNASSIGNED
226 - IM USED
227-299 - UNASSIGNED
🟡Redirection (3xx)—Indicates that the client must take some additional action in order to complete their request.
300 - MULTIPLE CHOICES
301 - MOVED PERMANENTLY
302 - FOUND
303 - SEE OTHER
304 - NOT MODIFIED
305 - USE PROXY
306 - (UNUSED)
307 - TEMPORARY REDIRECT
308 - PERMANENT REDIRECT
309-399 - UNASSIGNED
🔴Client Errors (4xx)—This category of error status codes points the finger at clients.
400 - BAD REQUEST
401 - UNAUTHORIZED
402 - PAYMENT REQUIRED
403 - FORBIDDEN
404 - NOT FOUND
405 - METHOD NOT ALLOWED
406 - NOT ACCEPTABLE
407 - PROXY AUTHENTICATION REQUIRED
408 - REQUEST TIMEOUT
409 - CONFLICT
410 - GONE
411 - LENGTH REQUIRED
412 - PRECONDITION FAILED
413 - CONTENT TOO LARGE
414 - URI TOO LONG
415 - UNSUPPORTED MEDIA TYPE
416 - RANGE NOT SATISFIABLE
417 - EXPECTATION FAILED
418 - (UNUSED)
419-420 - UNASSIGNED
421 - MISDIRECTED REQUEST
422 - UNPROCESSABLE CONTENT
423 - LOCKED
424 - FAILED DEPENDENCY
425 - TOO EARLY
426 - UPGRADE REQUIRED
427 - UNASSIGNED
428 - PRECONDITION REQUIRED
429 - TOO MANY REQUESTS
430 - UNASSIGNED
431 - REQUEST HEADER FIELDS TOO LARGE
432-450 - UNASSIGNED
451 - UNAVAILABLE FOR LEGAL REASONS
452-499 - UNASSIGNED
🟣Server Errors (5xx)—The server takes responsibility for these error status codes.
500 - INTERNAL SERVER ERROR
501 - NOT IMPLEMENTED
502 - BAD GATEWAY
503 - SERVICE UNAVAILABLE
504 - GATEWAY TIMEOUT
505 - HTTP VERSION NOT SUPPORTED
506 - VARIANT ALSO NEGOTIATES
507 - INSUFFICIENT STORAGE
508 - LOOP DETECTED
Subscribe to my newsletter
Read articles from Manish Adhikari directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
