HTTP 425 Too Early
HTTP 425 Too Early means the server will not process a request sent as TLS 1.3 early data (0-RTT) because it could be replayed by an attacker.
Quick answer
HTTP 425 Too Early means the server will not process a request sent as TLS 1.3 early data (0-RTT) because it could be replayed by an attacker. The client should resend it after the full TLS handshake completes.
Last updated · Maintained by FreeAIToolz · How we test
What does HTTP 425 Too Early mean?
TLS 1.3 0-RTT lets returning clients send data in the first packet, saving a round trip, but that data can be replayed. Servers or CDNs answer 425 for requests that are not safe to replay, such as POSTs.
| Status code | 425 |
|---|---|
| Name | Too Early |
| Class | 4xx Client Error |
| Defined in | RFC 8470 |
| Cacheable by default | No, unless Cache-Control says so |
| Safe to retry automatically? | Yes, with backoff |
What causes HTTP 425?
- A non-idempotent request sent in TLS 1.3 early data.
How do I fix HTTP 425?
- Only allow 0-RTT for safe, idempotent requests (GET); CDNs such as Cloudflare handle this automatically.
What should a client do after HTTP 425?
Retry after the handshake completes; browsers do this automatically.
Does HTTP 425 affect SEO?
No SEO impact.
Example 425 response
HTTP/1.1 425 Too Early
Date: Mon, 01 Dec 2026 12:00:00 GMT
Content-Type: application/json
{"error":{"status":425,"message":"Too Early"}} How to return 425 Too Early in code
Express (Node.js)
res.status(425).json({ error: 'Too Early' }); Next.js route handler
return Response.json({ error: 'Too Early' }, { status: 425 }); FastAPI (Python)
raise HTTPException(status_code=425, detail="Too Early") PHP
http_response_code(425); Nginx
location = /example {
return 425;
} Other 4xx status codes
The request contains an error or cannot be fulfilled as sent. Fix the request before retrying.
- 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 Content 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 Content
- 423 Locked
- 426 Upgrade Required
- 428 Precondition Required
- 429 Too Many Requests
- 431 Request Header Fields Too Large
- 451 Unavailable For Legal Reasons
- 499 Client Closed Request
Frequently asked questions
What is TLS 0-RTT?
Do I need to handle 425 myself?
Is 425 a client or server error?
Related
- 400 Bad Request HTTP 400 Bad Request means the server cannot process the request because of a client error, such as malformed .
- 429 Too Many Requests HTTP 429 Too Many Requests means the client has sent too many requests in a given time and is being rate limit.
- Open the HTTP Status Codes Reference → Free, no signup.