418 I'm a teapot

An April Fools’ joke from RFC 2324.

Status code
418
Reason phrase
I'm a teapot
Class
4xx Client errors

What does 418 I'm a teapot mean?

Defined as a joke in the Hyper Text Coffee Pot Control Protocol. Some sites return it to block bots or as an easter egg.

Common causes

How to fix it

418 and webhooks

Not used.

Test how your client handles 418

In the webhook tester you can add a response rule that answers 418 — useful to check retries, error handling and alerts before production.

FAQ

What does HTTP 418 mean?

An April Fools’ joke from RFC 2324. Defined as a joke in the Hyper Text Coffee Pot Control Protocol. Some sites return it to block bots or as an easter egg.

Is 418 an error?

Yes — a client error: the request must be changed before retrying.

Other 4xx codes

400 Bad Request · 401 Unauthorized · 402 Payment Required · 403 Forbidden · 404 Not Found · 405 Method Not Allowed · 406 Not Acceptable · 408 Request Timeout · 409 Conflict · 410 Gone · 411 Length Required · 412 Precondition Failed · 413 Content Too Large · 414 URI Too Long · 415 Unsupported Media Type · 422 Unprocessable Content · 425 Too Early · 426 Upgrade Required · 428 Precondition Required · 429 Too Many Requests · 431 Request Header Fields Too Large · 451 Unavailable For Legal Reasons · 499 Client Closed Request

← 415   All status codes   422 →

About HTTP 418

418 I'm a teapot is part of the 4xx class: client errors, meaning the request itself must change.

Retrying a 418 without changing the request usually gives the same answer; log the response body, it often names the bad field or header.

In monitoring, alert on the rate of 418 responses rather than single events, and split by endpoint to find the source.