HTTP Status Code 418
The status code 418, also known as "I'm a teapot", is a humorous error code used in the Hypertext Transfer Protocol (HTTP). It's not intended to be a serious error message.
Imagine you try to request a cup of coffee from a server. If the server is actually a teapot and not equipped to brew coffee, it might respond with a 418 code, indicating that it's not the right appliance for the task.
This code was defined in 1998 as part of an April Fool's joke in an RFC document outlining a fictional "Hyper Text Coffee Pot Control Protocol". You won't typically encounter this code in everyday browsing as it's not widely implemented by servers.
Other 4xx Status Codes
- 400 Bad Request
- 401 Unauthorized
- 402 Payment Required
- 403 Forbidden
- 404 Not Found
- 405 Method Not Allowed
- 406 Not Acceptable
- 407 Proxy Authentication Required
- 408 Request Timeout
- 409 Conflict
- 410 Gone
- 411 Length Required
- 412 Precondition Failed
- 413 Payload Too Large
- 414 URI Too Long
- 415 Unsupported Media Type
- 416 Range Not Satisfiable
- 417 Expectation Failed
- 418 I'm a teapot
- 421 Misdirected Request
- 422 Unprocessable Entity
- 423 Locked
- 424 Failed Dependency
- 425 Too Early
- 426 Upgrade Required
- 428 Precondition Required
- 429 Too Many Requests
- 431 Request Header Fields Too Large
- 451 Unavailable For Legal Reasons