Skip to main content
4

DEADLINE_EXCEEDED

ActiveHTTP 504

The deadline for the operation expired before it could complete. DEADLINE_EXCEEDED means the operation may have completed on the server – the client simply didn't receive a response in time. The operation might need to be retried with backoff.

Description

DEADLINE_EXCEEDED is returned when the operation takes longer than the client's specified deadline. Unlike CANCELLED, this is not an explicit cancellation but a timeout. The operation may have completed successfully on the server.

Common causes

  • Server too slow for the deadline
  • Network latency exceeded deadline
  • Downstream service timeout

HTTP equivalent

HTTP 504 – View status code reference →