HTTP 4xx
418 I'm a Teapot
An April Fools joke code from 1998: the server is a teapot and cannot brew coffee. Some sites return it as a playful block response.
What causes it
- A deliberate easter egg, or an endpoint using it to reject unwanted traffic.
How to fix it
Not a real error. If you see it unexpectedly, the server is using it intentionally.
Example response
A typical raw HTTP response a client receives for a 418, with the headers this code is defined around.
HTTP/1.1 418 I'm a Teapot
Content-Type: text/html; charset=utf-8Related codes
400Common
Bad RequestThe server could not understand the request, usually because it was malformed.401Common
UnauthorizedAuthentication is required and has failed or not been provided.403Common
ForbiddenThe server understood the request but refuses to authorize it. Unlike 401, authenticating will not help.404Common
Not FoundThe server could not find the requested resource. The URL may be wrong or the resource may have been removed.405
Method Not AllowedThe HTTP method is not supported for this resource, for example a POST to a read-only endpoint.408
Request TimeoutThe server timed out waiting for the client to finish the request.Know before your visitors do.
Sentinel checks your site around the clock from multiple regions and alerts you the moment it starts returning a 4xx error, so you can fix it before it costs you.