gRPC Error: 4 DEADLINE_EXCEEDED: Deadline exceeded
The call didn’t complete before the client’s deadline — slow server, network issues, or a deadline that’s too short.
Seen on:
REST API
Meaning
Deadlines propagate across services; a short upstream deadline can expire while downstream services are still working. Cold starts, long database queries and retries also consume time.
Common causes
- Server or downstream dependency too slow
- Deadline set too short
- Network latency/packet loss
- Server blocked (thread pool exhausted)
⚡ Quick fix
- Measure server-side latency; optimise slow paths
- Set realistic per-call deadlines
- Stream or paginate large responses
Detailed fix by platform
JavaScript
client.getReport({ id }, { deadline: Date.now() + 10_000 }, (err, res) => { /* ... */ });
How to diagnose
- Latency — Server-side duration
- Deadline — Value used
- Chain — Which hop timed out?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
Most viewed in API
Other ways to find it
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
Was this page helpful?
Report a correction or suggest an improvement
Last updated 7 Oct 2026