You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 16, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 16, 2025. It is now read-only.
Unable to submit request because it has an empty text parameter. Add a value to the parameter and try again. #697 #727
To help us investigate the issue, Could you confirm if you getting this error from Vertex client or Gemini API client? I notice the error is from Vertex client, while Gemini API returns success.
As far as I known, model wouldn't return meaningful response when sending empty text request, Could you share about your use case here? and want to explore if it is possible to make the change on the client side to filter out empty text request. thanks!
To help us investigate the issue, Could you confirm if you getting this error from Vertex client or Gemini API client? I notice the error is from Vertex client, while Gemini API returns success.
As far as I known, model wouldn't return meaningful response when sending empty text request, Could you share about your use case here? and want to explore if it is possible to make the change on the client side to filter out empty text request. thanks!
It appears that in a chat session, if a function call fails and results in a malformed function call, the model subsequently stops responding to any further queries in that same session. Instead, it returns the following error:
Invalid argument provided to Gemini: 400 Unable to submit request because it has an empty text parameter. Add a value to the parameter and try again. Learn more: https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/gemini
This behavior seems consistent once the malformed call occurs, effectively halting further interaction in the current session.
Activity
MarkDaoust commentedon Apr 10, 2025
@hkt74 - you solved #697, do you know what's going on here?
hkt74 commentedon Apr 28, 2025
Hi @Captainnik53
To help us investigate the issue, Could you confirm if you getting this error from Vertex client or Gemini API client? I notice the error is from Vertex client, while Gemini API returns success.
As far as I known, model wouldn't return meaningful response when sending empty text request, Could you share about your use case here? and want to explore if it is possible to make the change on the client side to filter out empty text request. thanks!
utkarsh-alpuria commentedon May 12, 2025
We are using the Gemini API Client, specifically the [Gemini 2.0 Flash model](https://ai.google.dev/gemini-api/docs/models#gemini-2.0-flash).
It appears that in a chat session, if a function call fails and results in a
malformed function call, the model subsequently stops responding to any further queries in that same session. Instead, it returns the following error:This behavior seems consistent once the malformed call occurs, effectively halting further interaction in the current session.