Quick answers to common HTTP status code questions.
What are HTTP status codes?
+
HTTP status codes are 3-digit numbers returned by a web server in response to a browser's request. They indicate whether the request was successful (2xx), redirected (3xx), caused a client error (4xx), or triggered a server error (5xx). For example, 200 means OK, 404 means Not Found, and 500 means Internal Server Error.
What are the 5 types of HTTP status codes?
+
The 5 types (classes) of HTTP status codes are: 1xx Informational (request received, processing continues), 2xx Success (request successfully received and accepted), 3xx Redirection (further action needed to complete request), 4xx Client Error (request contains bad syntax or cannot be fulfilled), and 5xx Server Error (server failed to fulfill a valid request). Each class groups related response behaviors together.
What is the most common HTTP status code?
+
How many HTTP status codes are there?
+
There are approximately 63 officially registered HTTP status codes defined by IANA across the five categories (1xx through 5xx). However, servers can return any 3-digit code, and some non-standard codes are widely used (e.g.,
418 I'm a Teapot, 520-527 Cloudflare errors). HTTP Tiger documents 33 of the most commonly encountered status codes with detailed explanations and troubleshooting guides.
What does HTTP status code 0 mean?
+
HTTP status code 0 is not an official HTTP status code. It typically indicates that no response was received at all -- the request failed before the server could respond. Common causes include CORS blocking, network errors, DNS resolution failure, the request being aborted by the client, or a browser extension interfering with the request. Check the browser developer console for more specific error details.
Read the full guide on status code 0.
What is the difference between 401 and 403?
+
401 Unauthorized means the request lacks valid authentication credentials -- the user has not logged in or provided an API key. Re-authenticating may fix the issue.
403 Forbidden means the server understood the request and the user's identity, but the user does not have permission to access the resource. Re-authenticating will NOT help with a 403 because the server has already identified you and denied access based on your permissions.
What is the difference between 301 and 302 redirects?
+
A
301 redirect is permanent -- search engines transfer link equity to the new URL and update their index. A
302 redirect is temporary -- search engines keep the original URL indexed. Use 301 for permanent URL changes like site migrations or HTTPS upgrades, and 302 for temporary situations like A/B testing or maintenance pages.
How do I fix a 500 Internal Server Error?
+
To fix a
500 error: 1) Check your server error logs for specific details. 2) Review recent code changes or deployments. 3) Verify file permissions are correct. 4) Check for syntax errors in configuration files like .htaccess. 5) Ensure your server has sufficient memory and disk space. 6) Test database connectivity.
What causes a 502 Bad Gateway error?
+
A
502 Bad Gateway error occurs when a server acting as a gateway or proxy receives an invalid response from an upstream server. Common causes include: the upstream server crashing or being overloaded, firewall rules blocking communication, PHP-FPM process timeouts, or network issues between servers. These errors are often temporary.
What is the http-status-codes npm package?
+
The http-status-codes npm package is a JavaScript/TypeScript library that provides constants and utility functions for HTTP status codes in Node.js projects. While useful for programmatic access, HTTP Tiger offers a more comprehensive free alternative for looking up status codes -- with detailed explanations, common causes, troubleshooting steps, and real-world examples that go far beyond simple constant definitions. No installation required.
How do I check HTTP status codes online for free?
+
You can check HTTP status codes online for free using
HTTP Tiger (httptiger.com). Enter any URL to see its HTTP response status code, response headers, redirect chain, and response time. HTTP Tiger also offers bulk URL checking, broken link scanning, and SSL certificate verification -- all free to use with no account required.
What is a redirect checker?
+
A redirect checker is a tool that traces the full chain of HTTP redirects from an initial URL to its final destination. It shows each hop in the redirect chain along with the status code (
301,
302,
307,
308) and response headers at each step. This is essential for SEO audits, debugging redirect loops, and verifying that URL migrations are configured correctly. Try the
free redirect checker at httptiger.com.
How can I monitor my website for HTTP errors?
+
Use a website monitoring service like
HTTP Tiger to continuously check your site's HTTP status. Monitoring services send requests to your URLs at regular intervals and alert you when errors occur, helping you fix issues before your users notice them.