Skip to content

Calendar - Invalid input: expected record, received array #27725

Description

@tanya-c-k

What happened?

Tool: mcp_google_workspace_calendar_listEvents
Error Message: Invalid input: expected record, received array
Description: The calendar.listEvents tool consistently fails with an "Invalid input" error related to structuredContent, preventing the listing of any calendar events. This issue persists even after clearing authentication.

bug-report-history-1780840526875.json

[ACTION REQUIRED] 📎 PLEASE ATTACH THE EXPORTED CHAT HISTORY JSON FILE TO THIS ISSUE IF YOU FEEL COMFORTABLE SHARING IT.

What did you expect to happen?

I asked gemini CLI "what meetings do I have tomorrow?" and got the answer: "I apologize, but I am still unable to retrieve your meetings for tomorrow due to the persistent internal error with the calendar tool. I am encountering the same "Invalid input: expected record, received array" error, which prevents me from accessing any event information."

Client information

  • CLI Version: 0.45.2
  • Git Commit: dfa8394
  • Session ID: 97b3e930-b6b0-4824-88f9-1eba5a4f2f76
  • Operating System: darwin v26.0.0
  • Sandbox Environment: no sandbox
  • Model Version: auto-gemini-2.5
  • Auth Type: oauth-personal
  • Memory Usage: 252.5 MB
  • Terminal Name: iTerm2 3.6.11
  • Terminal Background: #15191e
  • Kitty Keyboard Protocol: Supported

Login information

I installed gemini extensions install https://github.com/gemini-cli-extensions/workspace and then started an interactive session. It opened a webpage that asked me to log in using my google ID.

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/extensionsIssues related to Gemini CLI extensions capabilityeffort/small1 day or less: trivial logic, UI adjustments, docskind/bugpriority/p1Important and should be addressed in the near term.status/bot-triaged

    Type

    No fields configured for Bug.

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions