Deadline exceeded
The request's deadline passed before the server finished.
Why it happens
- The
deadlinesent with the request was shorter than the work took.
What to do
- Give the request more time (at most 600000 ms), or ask for less. The server stops work for a request once its deadline passes.
What it looks like
Inside a batch, the operation's frame carries it:
json
{
"id": 1,
"error": {
"code": "deadline_exceeded",
"message": "Deadline exceeded"
},
"fin": true
}retryable appears only where it differs from the code's default, which is the one at the top of this page.
When the whole request is refused over HTTP, the answer is a problem document:
json
{
"type": "https://eddyboutros.github.io/rayfold/errors/deadline_exceeded",
"title": "deadline exceeded",
"status": 504,
"detail": "Deadline exceeded",
"code": "deadline_exceeded"
}See also all error types and the errors chapter of the specification.