gemini-cli - 💡(How to fix) Fix Calendar - Invalid input: expected record, received array [1 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

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. 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."

Fix Action

Fixed

RAW_BUFFERClick to expand / collapse

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: dfa8394ca
  • 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

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING