google-gemini / Gemini Interactions API
Gemini Interactions API 504: Deadline Exceeded
The Gemini Interactions API operation did not complete within the available deadline. A client deadline setting ends processing before the server completes the operation.
Visible symptoms
- HTTP 504 Gateway Timeout
- Error object code is deadline_exceeded
Safe verification and recovery
Review client timeout
Check whether the client supplies a custom request deadline shorter than the server permits.
Use the server default where appropriate
Remove the custom deadline or increase it as the official API documentation recommends.
Matching evidence and limitations
Reported error signals
Matches the documented error signal; it identifies the documented case, not the exact root cause of your request.
The local analyzer never executes suggested commands or treats a possible match as certainty.
Verified source list
Analyze a redacted excerpt locally All Gemini Interactions API errors