Google Gemini API error
Gemini API 499 cancelled: what it means and how to fix it
Error message
499 cancelledRetry? Not statedLast verified 1 documented fix1 source
What it means
The client cancelled the request before it completed, which usually means the client disconnected.
Causes
- Client disconnected before the response finished
How to fix it
- Fix 1.
No action needed.
More Gemini API errors
All 30 Gemini API errorsHTTP 499 at other providers
FAQ
What does the Gemini API error "499 cancelled" mean?
The client cancelled the request before it completed, which usually means the client disconnected.
How do I fix Gemini API "499 cancelled"?
No action needed.
Should I retry Gemini API "499 cancelled"?
Not stated. The official docs do not say whether this error is retryable.
Which other AI APIs return HTTP 499?
Per their official error docs: Cohere API (499 Request Cancelled), Groq API (499 Request Cancelled), Vertex AI (499 CANCELLED).
Sources
Last verified against 1 source: Gemini API's official docs and official SDK repositories.
- ai.google.devhttps://ai.google.dev/gemini-api/docs/api-errors
Newsletter
Know when the APIs change
One email per week. New model releases, API changes, what broke, and how developers are working around it.