HTTP Status Codes
NewQuick reference for all HTTP status codes — description, category, and common use cases.
1xx Informational
100
Continue
Server received request headers; client should proceed.
101
Switching Protocols
Switching to protocol specified in Upgrade header (e.g., WebSocket).
102
Processing
WebDAV: request received, no response yet.
103
Early Hints
Preload resources before final response headers.
2xx Success
200
OK
Standard success response.
201
Created
Resource created. Include Location header pointing to new resource.
202
Accepted
Request accepted for processing, not yet complete (async).
204
No Content
Success with no body. Common for DELETE.
206
Partial Content
Range request succeeded. Used for resumable downloads.
3xx Redirection
301
Moved Permanently
Resource moved; update links. Caches permanent redirect.
302
Found
Temporary redirect. Original URL may be used again.
303
See Other
Redirect to GET another URL (after POST/PUT/DELETE).
304
Not Modified
Cached version is still valid. No body returned.
307
Temporary Redirect
Temporary redirect; method and body preserved.
308
Permanent Redirect
Permanent redirect; method and body preserved.
4xx Client Error
400
Bad Request
Malformed request syntax, invalid framing, or deceptive routing.
401
Unauthorized
Authentication required. Not authenticated.
403
Forbidden
Authenticated but not permitted. Access denied.
404
Not Found
Resource does not exist at this URL.
405
Method Not Allowed
HTTP method not supported for this endpoint.
408
Request Timeout
Server timed out waiting for the request.
409
Conflict
Conflict with current state (e.g., duplicate key).
410
Gone
Resource permanently deleted. Unlike 404, won't come back.
413
Content Too Large
Request body exceeds server limit.
415
Unsupported Media Type
Content-Type not supported by this endpoint.
422
Unprocessable Content
Semantically invalid (common in REST APIs for validation errors).
425
Too Early
Request in early data that might be replayed.
429
Too Many Requests
Rate limit exceeded. Check Retry-After header.
451
Unavailable For Legal Reasons
Access denied due to legal demand (censorship).
5xx Server Error
500
Internal Server Error
Generic server error. Check logs.
501
Not Implemented
Server does not support the request method.
502
Bad Gateway
Proxy received invalid response from upstream.
503
Service Unavailable
Server temporarily overloaded or down for maintenance.
504
Gateway Timeout
Upstream server timed out.
505
HTTP Version Not Supported
Server does not support the HTTP version.