418 I'm a teapot

All status codes
4xx · Client errorterminal

418I'm a teapot

The server refuses the attempt to brew coffee with a teapot. An Easter egg code defined by an April Fools' joke in 1998 (RFC 2324).

What this code obliges you to do

Retry

Do not retry automatically

Repeating the same request produces the same result. A retry loop here just multiplies load and hides the real fault.

Caching

Not cacheable by default

Caches will not store this response unless you send explicit freshness headers saying they may.

Response body

Body allowed

You may return a payload explaining the outcome — for an error, a machine-readable problem document is worth the effort.

What usually causes it

2
1

Fun engineering easter eggs

2

Blockers using 418 for undetected scrapers

Effect on search

Undefined behavior. Do not use in production SEO.

How to send it

1
Node.js
res.status(418).send('Short and stout');

Codes people confuse with this one

1
Class4xx
RetryNo
CacheNo
BodyAllowed