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 teapotCommon 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.