Error Codes Wiki

HTTP 418 I'm a Teapot — Easter Egg Status Code

Informational4xx client error

About HTTP 418 I'm a Teapot

HTTP 418 I'm a Teapot was defined as an April Fools joke in the Hyper Text Coffee Pot Control Protocol (HTCPCP) and is used as an Easter egg. This guide covers everything you need to know about this topic, including common causes, step-by-step solutions, and answers to frequently asked questions.

Here are the key things to understand: Defined in RFC 2324 (1998 April Fools) for the HTCPCP protocol. The teapot refuses to brew coffee because it is a teapot. Not part of the actual HTTP specification but widely implemented as an Easter egg. Google, major websites, and frameworks include 418 responses. Some APIs use 418 to indicate 'this endpoint is intentionally disabled'. Understanding these fundamentals will help you diagnose and resolve this issue more effectively.

The most common reasons this occurs include: Website or API intentionally returning 418 as an Easter egg. Developer using 418 to mark intentionally unavailable endpoints. Load balancer or WAF returning 418 for blocked requests (non-standard usage). Testing or demonstration purposes. Identifying the root cause is the first step toward finding the right solution.

To resolve this, follow these recommended steps: If you receive 418 from a real API, the endpoint is intentionally blocked or disabled. Try google.com/teapot for a fun example of a 418 response. Do not use 418 in production APIs for real error conditions — use proper HTTP status codes. If a WAF returns 418, check if your request is being blocked as suspicious. Contact the API provider if you receive 418 on a supposedly functional endpoint. If these steps do not resolve the issue, consider consulting additional resources or a qualified professional.

This article is part of our HTTP Status Codes collection on Error Codes Wiki. We provide comprehensive, up-to-date information to help you find solutions quickly.

Quick Answer

Is 418 a real HTTP status code?

It was defined as a joke in RFC 2324 (HTCPCP). It is not in the HTTP specification but is widely recognized and preserved as internet history.

Overview

HTTP 418 I'm a Teapot was defined as an April Fools joke in the Hyper Text Coffee Pot Control Protocol (HTCPCP) and is used as an Easter egg.

Key Details

  • Defined in RFC 2324 (1998 April Fools) for the HTCPCP protocol
  • The teapot refuses to brew coffee because it is a teapot
  • Not part of the actual HTTP specification but widely implemented as an Easter egg
  • Google, major websites, and frameworks include 418 responses
  • Some APIs use 418 to indicate 'this endpoint is intentionally disabled'

Common Causes

  • Website or API intentionally returning 418 as an Easter egg
  • Developer using 418 to mark intentionally unavailable endpoints
  • Load balancer or WAF returning 418 for blocked requests (non-standard usage)
  • Testing or demonstration purposes

Steps

  1. 1If you receive 418 from a real API, the endpoint is intentionally blocked or disabled
  2. 2Try google.com/teapot for a fun example of a 418 response
  3. 3Do not use 418 in production APIs for real error conditions — use proper HTTP status codes
  4. 4If a WAF returns 418, check if your request is being blocked as suspicious
  5. 5Contact the API provider if you receive 418 on a supposedly functional endpoint

Tags

http418teapoteaster-eggrfc-2324

More in 4xx Client Error

Frequently Asked Questions

It was defined as a joke in RFC 2324 (HTCPCP). It is not in the HTTP specification but is widely recognized and preserved as internet history.