Wirebook

Wirebook › Lesson 5 of 18

What do 404 and friends mean?

About 5 minutes · hands-on · nothing you type leaves your browser unless a button says so

Every answer a website sends starts with a three-digit number. You normally never see it, except when things go wrong, like the famous 404. Learn to read them and you can tell whose fault a problem is.

The five families

1xxHold on…"Got it, keep going." Rarely seen.
2xxSuccess"Here you go." 200 OK is the happy one.
3xxMoved"It's over there now." Your browser follows automatically.
4xxYour request had a problemWrong address, not allowed, too many tries.
5xxThe server had a problemNot your fault: something broke at their end.

Make the server answer

These buttons ask this site's server for real things and show the actual code it sends back.

Press a button…

Who's to blame? A quick game

Each card is a real code. Is it a success, a redirect, your request's fault or the server's fault?

The ones worth knowing

200 OK
Everything worked.
301 Moved Permanently
The page has a new address for good; search engines update their records.
304 Not Modified
"You already have the latest copy", so nothing needs downloading. A big speed trick.
403 Forbidden
The server knows what you want and says no.
404 Not Found
Nothing lives at that address. Often a typo or an old link.
405 Method Not Allowed
You can look but not touch: e.g. trying to send data to a read-only page.
418 I'm a teapot
An April Fools' joke from 1998 that people loved so much it stuck around.
429 Too Many Requests
Slow down! A rate limit protecting the server (see Can a website get tired?).
500 Internal Server Error
Something crashed inside the server.

Grown-up twin: look up any code with Anvil’s free HTTP status API (GET /v1/http-status/404) — plain words, related codes and retry advice. Deeper help pages: Tooltern’s 401 vs 403, 429, 502, 503 and 504.

Words from this lesson

Earn your stamp

Get all 3 right to collect the Status codes stamp. Wrong answers are fine: just try again.

1. A 5xx code means…

2. What does 301 tell your browser?

3. Why does 418 'I'm a teapot' exist?

Try another lesson

  1. 6How does a message cross the world in a blink?7 min · interactive
  2. 7Why does Wi-Fi get weaker through walls?7 min · interactive
  3. 8Where do deleted files and photos go?7 min · interactive