Skip to content

API Error #3178

@lswith

Description

@lswith

What happened?

I'm getting this error when running any prompt locally:

✕ [API Error: {"error":{"message":"{\n  \"error\": {\n    \"code\": 400,\n    \"message\": \"*
  GenerateContentRequest.tools[0].function_declarations[93].parameters.properties[links].items.properties[url].format: only 'enum' and 'date-time' are
  supported for STRING type\\n* GenerateContentRequest.tools[0].function_declarations[94].parameters.properties[links].items.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"}}]

What did you expect to happen?

I expected gemini to be called and return some answers.

Client information

Details

About Gemini CLI │
│ │
│ CLI Version 0.1.7 │
│ Git Commit 55cc809 │
│ Model gemini-2.5-pro │
│ Sandbox no sandbox │
│ OS darwin │
│ Auth Method gemini-api-key │
│ GCP Project dovetail-internal

Login information

API Key

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/coreIssues related to User Interface, OS Support, Core Functionalitypriority/p2Important but can be addressed in a future release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions