Skip to main content
apiguide.dev

HTTP 418 — I'm a teapot

Returned by hyper text coffee pot control protocol clients.

Status CodeHTTP 418
CategoryClient Error (4xx)
API Error Subtypes0 error schemas
HTTP Headers0 headers

What does HTTP status code 418 mean?

The 418 I’m a teapot status code is an April Fools’ joke defined in RFC 2324 (Hyper Text Coffee Pot Control Protocol).

When to use it in APIs

Mainly for easter eggs or testing purposes. Never use this in production API designs unless as a joke.

How it compares to other codes

  • 400 Bad Request: Standard error representation for real client issues.

Specific API Error Types for 418

No specific Problem+JSON schemas have been defined for HTTP 418 on apiguide.dev yet.

Associated HTTP Headers

No specific HTTP headers are explicitly linked to HTTP 418 in our directory yet.

Related HTTP Status Codes