HTTP 418 — I'm a Teapot
4xx Client Error
What it means
Defined in a 1998 April Fools' RFC for the Hyper Text Coffee Pot Control Protocol. It is a joke that several frameworks implement anyway.
What to do about it
Nothing to fix. Attempts to remove it from libraries have been resisted with unusual vigour.
Where it sits
418 belongs to the 4xx family: The request contains something the server will not or cannot process. The fix is normally on the client side.
HTTP/1.1 418 I'm a Teapot
Checking it yourself
# see the status code and headers only
curl -sI https://example.com/path
# follow redirects and print each hop
curl -sIL -o /dev/null -w "%{http_code} %{url_effective}\n" https://example.com/path
# JavaScript
const r = await fetch(url);
console.log(r.status, r.statusText);