4xx Client Error

HTTP 418 I'm a Teapot

This code was defined in 1998 as an April Fools' joke in RFC 2324, Hyper Text Coffee Pot Control Protocol. It is not expected to be implemented by actual HTTP servers, but it has become a beloved Easter egg.

Common Causes

  • Easter egg response from a server with a sense of humor
  • API returning a joke status for fun endpoints
  • Intentional use as a non-standard refusal response

How to Fix

  1. 1Enjoy the joke — this is an Easter egg, not a real error
  2. 2If unexpected, the server may be using it as a custom refusal
  3. 3Check if the server has a /coffee endpoint for fun

Example

HTTP 418 I'm a Teapot
GET /coffee HTTP/1.1

→ 418 I'm a Teapot
→ "I can't brew coffee, I'm a teapot!"

Related Client Error Codes