Too Early
4xx Client Error
Last updated:
The server is unwilling to risk processing a request that might be replayed (used with TLS 1.3 0-RTT early data).
Description
425 Too Early was introduced for TLS 1.3 early data (0-RTT). Early data lets a client send request bytes before the TLS handshake finishes, which shaves a round trip but is replayable by an attacker — so sending a non-idempotent method (POST, PUT, PATCH, DELETE) in early data is risky. A server (or a proxy fronting it) returns 425 to say 'this request arrived in early data and I won't risk processing it; resend it after the handshake completes'. Compliant clients then retry the request over the fully established connection.
When to use
Return 425 when your server or reverse proxy accepts TLS 1.3 early data but a request that could be replayed (a non-idempotent method, or any request you deem risky) arrived in that early-data phase. The client should retry once the handshake is done.
Common pitfalls
Early data is safe for idempotent GETs but dangerous for POST/PUT/PATCH/DELETE because a replay could duplicate a side effect (double charge, duplicate order). Don't enable 0-RTT for mutating endpoints, or gate them behind 425 so risky early-data requests are forced to retry. Note the method isn't 'risky' by itself — it's risky specifically when carried in replayable early data.
Also searched as
Developers commonly search for 425 using phrases like 425 too early · http 425 · 425 tls early data · tls early data 425 · rfc 9112 tls early data 425 · 0-rtt replay 425 · early data method risky. All refer to the same HTTP 425 Too Early response.
Specification
RFC 8470 (Using Early Data in HTTP); TLS 1.3 is RFC 8446, HTTP/1.1 semantics RFC 9112
Examples
HTTP/1.1 425 Too Early
Content-Type: application/json
{"error":"Too Early"}res.status(425).json({ error: "Too Early" });w.WriteHeader(http.Status425)
return jsonify({"error": "Too Early"}), 425