418 I'm a teapot

The HTTP 418 I'm a teapot client error response code indicates that the server refuses to brew coffee because it is, permanently, a teapot. A combined coffee/tea pot that is temporarily out of coffee should instead return 503. This error is a reference to Hyper Text Coffee Pot Control Protocol defined in April Fools' jokes in 1998 and 2014.

Some websites use this response for requests they do not wish to handle, such as automated queries.


418 I'm a teapot


Specification Title
RFC 2324, section 2.3.2: 418 I'm a teapot Hyper Text Coffee Pot Control Protocol (HTCPCP/1.0): Semantics and Content
RFC 7168, section 2.3.3: 418 I'm a teapot The Hyper Text Coffee Pot Control Protocol for Tea Efflux Appliances (HTCPCP-TEA): Response Codes

Browser compatibilityUpdate compatibility data on GitHub

Chrome Edge Firefox Internet Explorer Opera Safari
418 Yes 12 Yes Yes Yes Yes
Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
418 Yes Yes Yes Yes Yes Yes

See also

© 2005–2020 Mozilla and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.