-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Persistent 400 API error #2141
Copy link
Copy link
Labels
area/coreIssues related to User Interface, OS Support, Core FunctionalityIssues related to User Interface, OS Support, Core Functionalitypriority/p1Important and should be addressed in the near term.Important and should be addressed in the near term.
Description
What happened?
Since yesterday I am unable to use gemini-cli with similar 400 API errors. In essence only 'enum' and 'date-time' are supported for STRING type
[API Error: {"error":{"message":"{\n \"error\": {\n \"code\": 400,\n \"message\": \"*
GenerateContentRequest.tools[0].function_declarations[15].parameters.properties[file_paths].items: missing
field.\\n* GenerateContentRequest.tools[0].function_declarations[63].parameters.properties[url].format:
only 'enum' and 'date-time' are supported for STRING type\\n\",\n \"status\": \"INVALID_ARGUMENT\"\n
}\n}\n","code":400,"status":"Bad Request"}}]
gemini-client-error-Turn.run-sendMessageStream-2025-06-27T07-22-37-705Z.json
What did you expect to happen?
That after asking question I will get assistant action or answer not API error 400.
Client information
Details
$ gemini /about
# paste output hereLogin information
No response
Anything else we need to know?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/coreIssues related to User Interface, OS Support, Core FunctionalityIssues related to User Interface, OS Support, Core Functionalitypriority/p1Important and should be addressed in the near term.Important and should be addressed in the near term.