•
Developer Reference
Complete reference for HTTP response codes (1xx to 5xx), RFC semantics, caching rules, and debugging notes.
| Code | Status Text | Meaning & Troubleshooting Note | Cacheable |
|---|---|---|---|
100 | Continue | Initial part of request received; client can continue with body. | No |
101 | Switching Protocols | Server agrees to switch protocols (e.g. Upgrade to WebSocket). | No |
200 | OK | Standard response for successful HTTP requests. | Yes (default) |
201 | Created | Request fulfilled and new resource created (typical for POST / PUT). | Yes |
202 | Accepted | Request accepted for background asynchronous processing. | No |
204 | No Content | Action succeeded but response body is intentionally empty (e.g. DELETE). | Yes |
206 | Partial Content | Server fulfilled a Range request for video streaming or resumable downloads. | Yes |
301 | Moved Permanently | Target resource has been assigned a new permanent URI. Passes SEO PageRank. | Yes (Heuristic) |
302 | Found (Temporary Redirect) | Target resource resides temporarily under a different URI. | No |
304 | Not Modified | Client has cached copy matching ETag or If-Modified-Since header. Zero body bytes sent. | Conditional |
307 | Temporary Redirect | Temporary redirect guaranteeing the HTTP method (e.g. POST) is NOT altered to GET. | No |
308 | Permanent Redirect | Permanent redirect guaranteeing the HTTP method is NOT altered. Passes SEO PageRank. | Yes |
400 | Bad Request | Malformed syntax, invalid JSON schema, or deceptive request routing. | No |
401 | Unauthorized | Authentication required. Missing, invalid, or expired Authorization bearer token. | No |
403 | Forbidden | Authenticated user lacks permission (RBAC) to access the resource. | No |
404 | Not Found | Origin server cannot find current representation for target resource. | No |
405 | Method Not Allowed | HTTP verb (GET, POST, PUT, DELETE) not supported by endpoint. | No |
408 | Request Timeout | Server timed out waiting for client to send complete request. | No |
409 | Conflict | Conflict with current state (e.g. duplicate unique username or edit race). | No |
410 | Gone | Resource was intentionally deleted permanently with no forwarding address. | Yes |
413 | Payload Too Large | Request body exceeds server upload limits (e.g. Nginx client_max_body_size). | No |
415 | Unsupported Media Type | Request Content-Type or format is rejected by server. | No |
422 | Unprocessable Content | Syntactically valid JSON/XML but fails semantic business logic validation. | No |
429 | Too Many Requests | Rate limit exceeded. Check Retry-After response header. | No |
500 | Internal Server Error | Generic catch-all error when unhandled exception occurs in server code. | No |
502 | Bad Gateway | Reverse proxy (Nginx, Cloudflare) received invalid response from upstream app. | No |
503 | Service Unavailable | Server overloaded or down for maintenance. Frequently sends Retry-After. | No |
504 | Gateway Timeout | Reverse proxy timed out waiting for upstream application server to reply. | No |