HTTP Status Codes
ITComplete guide to HTTP status codes. Each code with detailed description and common use cases for web developers and system administrators.
Quick Code Lookup
1xx - Informational
Provisional responses indicating the request was received and the process continues.
100
Continue
The server has received the request headers and the client should proceed to send the body.
Large file uploads with Expect: 100-continue header
101
Switching Protocols
The server agrees to switch protocols as requested by the client.
Upgrading from HTTP to WebSocket
102
Processing
The server has received and is processing the request (WebDAV).
Long-running WebDAV operations
103
Early Hints
Allows the browser to start preloading resources while the server prepares a response.
Performance optimization with Link headers
2xx - Success
The request was successfully received, understood, and accepted.
200
OK
The request has succeeded. The meaning depends on the HTTP method used.
Standard response for successful GET/POST requests
201
Created
The request has succeeded and a new resource has been created.
Response to POST that creates a new resource
202
Accepted
The request has been accepted but not yet processed.
Asynchronous processing, queued jobs
203
Non-Authoritative Information
The returned metadata is not identical to that from the origin server.
Proxy response with modified information
204
No Content
The server processed the request but returns no content.
Successful DELETE, save without redirect
205
Reset Content
The server asks the client to reset the document view.
Form reset after submission
206
Partial Content
The server returns only part of the requested resource.
Partial downloads, video streaming with Range header
207
Multi-Status
The body contains multiple status codes for multiple operations (WebDAV).
Batch operations in WebDAV
208
Already Reported
Members of a DAV binding have already been enumerated (WebDAV).
Avoiding loops in WebDAV
226
IM Used
The server has fulfilled a GET request with instance-manipulation.
Delta encoding
3xx - Redirection
The client must take additional action to complete the request.
300
Multiple Choices
The request has multiple possible responses. The client must choose one.
Content available in multiple formats
301
Moved Permanently
The resource has been permanently moved to a new URL.
SEO: permanent redirect, domain change
302
Found
The resource is temporarily available at a different URL.
Temporary redirect after login
303
See Other
The client should GET the resource at the indicated URL.
Redirect after POST (PRG pattern)
304
Not Modified
The resource has not been modified since the last request.
Caching with If-Modified-Since or ETag
305
Use Proxy
Deprecated. The resource must be accessed through a proxy.
No longer used for security reasons
307
Temporary Redirect
Temporary redirect that preserves the original HTTP method.
Redirect POST to POST (method unchanged)
308
Permanent Redirect
Permanent redirect that preserves the original HTTP method.
Like 301 but preserves the method
4xx - Client Error
The request contains errors or cannot be fulfilled.
400
Bad Request
The server cannot process the request due to client error.
Syntax error, missing parameters
401
Unauthorized
Authentication required. The client must authenticate.
API without token, expired session
402
Payment Required
Reserved for future use. Some services use it for payments.
Paid services, limits exceeded
403
Forbidden
The server understood the request but refuses to authorize it.
Insufficient permissions, blocked IP
404
Not Found
The requested resource was not found on the server.
Wrong URL, deleted resource
405
Method Not Allowed
The HTTP method used is not supported for this resource.
POST on resource that only accepts GET
406
Not Acceptable
The server cannot produce a response the client would accept.
Content negotiation failed
407
Proxy Authentication Required
The client must first authenticate with the proxy.
Corporate proxy with authentication
408
Request Timeout
The server closed the connection due to timeout.
Client too slow sending request
409
Conflict
The request conflicts with the current state of the resource.
Version conflict, email already registered
410
Gone
The resource has been permanently removed.
Content permanently deleted
411
Length Required
The server requires the Content-Length header.
Upload without specifying size
412
Precondition Failed
A precondition in the headers was not met.
If-Match/If-Unmodified-Since failed
413
Payload Too Large
The request body is too large.
File upload exceeds limit
414
URI Too Long
The requested URI is too long.
Excessively long query string
415
Unsupported Media Type
The media type of the body is not supported.
Upload of unaccepted file format
416
Range Not Satisfiable
The specified range cannot be satisfied.
Range header beyond file size
417
Expectation Failed
The server cannot meet the Expect header.
Expect: 100-continue not supported
418
I'm a teapot
Easter egg RFC 2324. The server is a teapot.
Nerd humor, April Fools
421
Misdirected Request
The request was directed at a server that cannot respond.
HTTP/2 routing error
422
Unprocessable Entity
The request is well-formed but contains semantic errors.
Data validation failed (WebDAV/API)
423
Locked
The resource is locked (WebDAV).
File being edited by another user
424
Failed Dependency
The request failed due to another failed request.
WebDAV transaction failed
425
Too Early
The server is unwilling to risk processing a request that might be replayed.
TLS 1.3 early data
426
Upgrade Required
The client must switch to a different protocol.
Requires TLS, HTTP/2
428
Precondition Required
The server requires the request to be conditional.
Requires If-Match to prevent lost update
429
Too Many Requests
The user has sent too many requests.
Rate limiting, DDoS protection
431
Request Header Fields Too Large
The request headers are too large.
Cookie too large
451
Unavailable For Legal Reasons
The resource is unavailable for legal reasons.
Censorship, GDPR, court order
5xx - Server Error
The server failed to fulfill an apparently valid request.
500
Internal Server Error
Generic server error. Something went wrong.
Code bug, unhandled exception
501
Not Implemented
The server does not support the required functionality.
HTTP method not implemented
502
Bad Gateway
The server received an invalid response from an upstream server.
Proxy/gateway with unreachable backend
503
Service Unavailable
The server is currently unable to handle the request.
Maintenance, overload
504
Gateway Timeout
The gateway did not receive a response in time from the upstream server.
Slow backend, proxy timeout
505
HTTP Version Not Supported
The server does not support the HTTP version used.
HTTP/2 request on HTTP/1.1 only server
506
Variant Also Negotiates
Configuration error in content negotiation.
Server misconfiguration
507
Insufficient Storage
The server cannot store the resource (WebDAV).
Disk full, quota exceeded
508
Loop Detected
The server detected an infinite loop (WebDAV).
Circular binding in WebDAV
510
Not Extended
Further extensions to the request are required.
HTTP Extension Framework
511
Network Authentication Required
The client must authenticate to access the network.
WiFi captive portal
No codes found for your search.