418 I'm a teapot (reserved)
Reserved by RFC 9110. It is best known as the 'I'm a teapot' joke from the April Fools RFC 2324.
| Class | Client error (4xx) |
|---|---|
| Defined in | RFC9110, Section 15.5.19 |
| Cacheable by default | No, unless explicit freshness headers allow it |
Common causes
- Developers returning it as an Easter egg or to deflect bots.
- The joke defined in RFC 2324, the Hyper Text Coffee Pot Control Protocol.
What to do
No fix is needed in normal use. RFC 9110 keeps 418 reserved, so avoid giving it another meaning in an API.
Related codes
- 400 Bad Request: The server cannot process the request because it looks malformed.
- 403 Forbidden: The server understood the request but refuses to authorize it.
- 405 Method Not Allowed: The method is known but not allowed for this resource.