Start free · Free tools · Fair usage limits
Browse Tools

Categories

Custom AI Solutions – AI2Flows
LIVE NEWS
Loading latest AI & SEO news…
Home›Tools›HTTP Status Codes Reference›HTTP 425 Too Early
4xx Client Error

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 code425
NameToo Early
Class4xx Client Error
Defined inRFC 8470
Cacheable by defaultNo, 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?

  1. 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.

Frequently asked questions

What is TLS 0-RTT?
A TLS 1.3 feature that lets returning clients send request data immediately. It is faster but vulnerable to replay, which is why servers may answer 425.
Do I need to handle 425 myself?
Rarely. Browsers retry automatically. It matters mainly if you build HTTP clients that use 0-RTT.
Is 425 a client or server error?
425 is in the 4xx class, so it is classed as a client error: the request needs to change before it can succeed.