[BUG] Google Drive connector: tools fail with "Error occurred during tool execution" after clean reconnection (claude.ai web)

Resolved 💬 1 comment Opened Jun 22, 2026 by ekadaoui-alt Closed Jun 25, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

The Google Drive connector shows as "Connected" in the connectors menu, but every tool call to it returns a generic execution error. The failure is consistent across:

Multiple reconnection attempts
Two different Google accounts (a brand-new dedicated account and a personal account)
Multiple days
Both available tools: Google Drive: list_recent_files and Google Drive: search_files
Multiple query shapes for search_files: trashed = false, mimeType = 'application/vnd.google-apps.folder', fullText contains 'a', title contains '<keyword>'
Different pageSize values (1, 5, 10, 20)

What Should Happen?

Tool calls should return either matching files or an empty result set. They should not return a generic execution error when the OAuth flow has completed successfully on the user side.

Error Messages/Logs

Every call returns the same shape:
{"error": "Error occurred during tool execution", "request_id": "req_011CcJL3ok9fyebWeKZ2XrcL"}
Additional request_id values for tracing:

req_011CcJDwkekY1QUTpS8XqPG6 (search_files, after clean OAuth revocation+reconnect)
req_011CcJDx9H34YbUWwZ7vuQ9u (list_recent_files, same session)
req_011CcJCrA58C7SrocZkWLpfL (search_files, minimal pageSize=1)
req_011CcJCvb6dTEXncV3yLZUDd (search_files, folders only)

The error is generic — no auth-specific message, no permission denied, no rate limit indication. It does not surface to the user as a permission prompt either.

Steps to Reproduce

In claude.ai → Settings → Connectors, connect Google Drive with a Google account and grant all requested OAuth scopes.
Verify the connector shows as "Connected".
In any conversation, ask Claude to list or search Drive files.
The tool call fails with the error above.

Steps Already Tried (none resolved the issue)

Disconnect + reconnect the connector from the Claude UI multiple times.
Try with a second, freshly-created Google account.
Close the browser entirely, reopen, reconnect.
Full OAuth revocation cycle: revoke Claude/Anthropic access at myaccount.google.com/permissions, disconnect on Claude side, close browser, reconnect from scratch, re-grant all scopes.
Wait ~10 minutes after reconnect for token propagation, then retry.
Vary the tool called (list_recent_files vs search_files) and the query shape and pageSize.

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

claude max

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Windows Terminal

Additional Information

Happy to provide additional request_id values or run further diagnostic calls if useful.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗