4xx Client error

HTTP 418 I'm a teapot

An April Fools joke from RFC 2324. Some servers return it to reject unwanted bots.

418 I'm a teapot comes from an April Fools RFC about controlling coffee pots (RFC 2324). It is not a real error, but many frameworks and sites return it as an Easter egg or to refuse automated requests.

HTTP/1.1 418 I'm a teapot

Common causes

  • Joke endpoints and Easter eggs.
  • Some sites send it to bots or requests they decide not to serve.

How to fix it

  • If an API returns 418 unexpectedly, you are probably being filtered as a bot; check rate limits and your User-Agent.
  • Do not use it for real errors: clients will not know what it means.

Related status codes

Other status codes

1xx Informational

2xx Success

3xx Redirection

5xx Server error

Search all HTTP status codes