HTTP Status Codes

Complete reference of all HTTP response status codes

1xx Informational
100
Continue
Server received request headers, client should continue sending body
Client sends 'Expect: 100-continue' header
101
Switching Protocols
Server is switching protocols as requested (e.g., HTTP to WebSocket)
WebSocket upgrade request accepted
103
Early Hints
Server sends resource hints before final response
Server hints to preload CSS/JS files
2xx Success
200
OK
Request succeeded, response contains requested data
Normal successful API call or page load
201
Created
Request succeeded and new resource was created
POST request to create user account successful
202
Accepted
Request accepted but not yet processed
Async job submitted for processing
204
No Content
Request succeeded but no content to return
DELETE request successful with no body
206
Partial Content
Server delivering only part of resource (range request)
Video streaming with HTTP range requests
3xx Redirection
300
Multiple Choices
Multiple possible representations of resource
Content available in multiple languages
301
Moved Permanently
Resource moved to new URL, future requests use new URL
Website domain changed permanently
302
Found
Resource temporarily at different URL, may change again
Temporary redirect during maintenance
304
Not Modified
Resource not modified since last request, use cached version
Browser cache still valid with matching ETag
307
Temporary Redirect
Resource temporarily at different URL, preserve HTTP method
POST request redirected to temporary location
308
Permanent Redirect
Resource permanently at new URL, preserve HTTP method
POST endpoint permanently moved
4xx Client Error
400
Bad Request
Server cannot process request due to client error (malformed syntax)
Invalid JSON in request body
401
Unauthorized
Request requires authentication
Missing or invalid API token
403
Forbidden
Server understands request but refuses to grant access
Authenticated user lacks permission to resource
404
Not Found
Server cannot find requested resource
URL does not exist on server
405
Method Not Allowed
HTTP method not allowed for this resource
POST to read-only endpoint
408
Request Timeout
Server timeout waiting for client request
Client stopped sending data
409
Conflict
Request conflicts with current state (version conflict)
Attempting to update already-deleted resource
410
Gone
Resource permanently deleted, no redirection available
Old API endpoint permanently removed
413
Payload Too Large
Request body exceeds server limits
File upload exceeds maximum size
415
Unsupported Media Type
Server rejects content type of request
Sending XML when only JSON accepted
429
Too Many Requests
Client exceeded rate limit
API rate limit exceeded, throttle requests
5xx Server Error
500
Internal Server Error
Server encountered unexpected condition
Unhandled exception in server code
501
Not Implemented
Server does not support requested functionality
HTTP method not implemented
502
Bad Gateway
Invalid response from upstream server
Reverse proxy received invalid response
503
Service Unavailable
Server temporarily unavailable (maintenance, overload)
Server is down for maintenance
504
Gateway Timeout
Upstream server did not respond in time
Reverse proxy timeout waiting for backend
505
HTTP Version Not Supported
Server does not support HTTP version in request
Request using unsupported HTTP version