HTTP Status Code Reference
Complete searchable HTTP status code reference with descriptions, use cases, and monitoring tips for each code.
Frequently Asked Questions
At minimum: 5xx error rate (any elevated rate is a problem), 4xx rate (spikes indicate broken clients or attacks), response time (latency increases often precede errors), and specific codes like 429 (rate limiting) and 503 (capacity). Set up alerts for sustained 5xx rates above your baseline.
401 Unauthorized means 'I don't know who you are' — the request lacks valid authentication credentials. 403 Forbidden means 'I know who you are, but you're not allowed' — authentication succeeded but authorization failed.
Return 404 when the resource doesn't exist or you don't want to reveal whether it exists. Return 410 when the resource was intentionally and permanently deleted — this tells search engines to remove it from their index faster than a 404.
A 502 means your reverse proxy (Nginx, Cloudflare, load balancer) couldn't get a valid response from the upstream server. Common causes: upstream crashed, connection refused, upstream returned malformed response, or network issues between proxy and backend.
Related tools
Need continuous monitoring?
A one-time check is helpful, but 24/7 monitoring catches issues the moment they happen. DevHelm monitors your services every 30 seconds from 4 global regions — free tier includes 50 monitors.
Start Monitoring Free