HTTP 420 status code
420 is not an official HTTP status code; the IANA registry lists it as unassigned. You see it when a server or API invents it, most famously the old Twitter API, where it meant "Enhance Your Calm": you were rate limited.
Last reviewed 2026-11-04.
What to do
- Treat it as a client error (4xx) and read the response body for the vendor's explanation.
- If the API is rate limiting you, slow down and retry with backoff.
- If you run the server and want to rate limit, return 429 Too Many Requests (RFC 6585) with a
Retry-Afterheader.
Other uses
Spring Framework had a deprecated METHOD_FAILURE constant with value 420, taken from an old WebDAV draft. It is not part of any current standard. A custom 420 may also come from a proxy or a hosting platform.
Unassigned does not mean invalid
Clients are told to treat an unknown status code by its class: an unrecognized 4xx acts like 400 (RFC 9110 section 15). So a 420 is handled as a generic client error.
Running this on a server
If you run an API that needs rate limiting, the hosting guide compares places to run it.
Frequently asked questions
Is 420 an official status code?
No. It is unassigned in the IANA HTTP Status Code Registry.
What is the standard rate limit code?
429 Too Many Requests.
Can I retry after a 420?
Usually yes after waiting, if it signals a rate limit. Check the vendor's documentation.
Sources
- IANA HTTP Status Code Registry checked 2026-11-04
- RFC 6585: 429 Too Many Requests checked 2026-11-04
- RFC 9110: Status Codes checked 2026-11-04