[BUG] Google Drive MCP connector — create_file with explicit parentId fails "User cannot add children to specified folder" — regression after May 7 incident
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's create_file tool returns "User cannot add children to the specified folder" when any explicit parentId is specified. This was working correctly before May 7, 2026 and has since regressed.
Writing with no parentId (defaults to Drive root / My Drive root) succeeds. Writing with any explicit folder parentId — including freshly created test folders — fails with the same error. Revoking OAuth at myaccount.google.com/permissions and reconnecting the connector did not fix it.
What Should Happen?
Files created with an explicit parentId should land in the specified folder, as they did prior to May 7, 2026.
Error Messages/Logs
Steps to Reproduce
- Connect Google Drive connector in claude.ai Settings → Connections
- 2. In a claude.ai chat, ask Claude to create a file in a specific folder (any folder in My Drive)
- 3. Observe error: "User cannot add children to the specified folder"
- 4. Ask Claude to create a file with no parentId specified — this succeeds and lands in Drive root
- 5. Repeat step 2 with a brand new folder created seconds earlier — same error
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
N/A — this is the claude.ai web connector (not Claude Code CLI)
Claude Code Version
N/A — this is the claude.ai web connector (not Claude Code CLI)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
- Connector: Google Drive (claude.ai Settings → Connections)
- - Was working: confirmed 14 clean writes to specific parentIds on May 7, 2026 before the incident
- - - Stopped working: during/after the May 7 platform outage (15+ hours down per StatusGator)
- - - - Write to root (no parentId): WORKS — returns file in parentId 0AIp4DMTebyusUk9PVA (My Drive root)
- - - - - Write with explicit parentId: FAILS — tested on daisy folder, inbox subfolder, and a brand new test folder
- - - - - - Error message: "User cannot add children to the specified folder"
- - - - - - - OAuth revoke + reconnect: did not fix
- - - - - - - - App update: did not fix
- - - - - - - - - Account: Pro plan, claude.ai web
- - - - - - - - - - Platform: macOS
- - - - - - - - - - - Closest existing issues: #51040 (feature request framing, different issue), #30457 (Cowork-specific, different issue)
15 Comments
Such a bummer that this stopped working :/
I have a workflow at my job that relies on this behavior
Reproducing on a separate organization. Supports likely an Anthropic-side regression, not a per-user or per-permission issue. Adding data points and one observation that broadens the symptom set.
Reproduction context
User cannot add children to the specified folder— verbatim matchAdditional data point — Shared Drive case
Our primary target is a Google Shared Drive (not My Drive). Every
create_filecall against any folder in the Shared Drive: canonical folder, subfolders, brand-new test folders fails with the same error string. Folder creation also fails the same way.Combined with OP's finding that My Drive writes with an explicit
parentIdalso fail (while writes with noparentIdsucceed and land at Drive root), this rules out a Shared-Drive-only root cause. The regression appears to affect anycreate_filecall with an explicitparentId, regardless of Drive type.Same-session diagnostic: reads work, writes fail
In a single Cowork session against the same target folder:
get_file_permissions→ succeeds. Returns my role asorganizer(Manager) and theorganizationdomain asfileOrganizer(Content Manager). Both roles grantcanAddChildren: trueper the Drive API.create_filewith that folder asparentId→ fails with the error above.Auth, scope, role, and Drive-side permissions are confirmed correct via the connector itself. The bug is in the
create_filewrite code path, specifically whenparentIdis set.Mitigations tried, none fix it
Hypothesis
Regression in the
create_filecode path's handling of theparentsfield on the Drive API requestA secondary suspicion was missing
supportsAllDrives=truefor Shared Drive writes (a documented Drive API requirement (https://groups.google.com/g/google-apps-script-community/c/bH-kn9UW_cg)). OP's My Drive failure rules it out as sole cause, but it may still be an additional issue stacked on top for Shared Drive users. Both symptoms could share the sameparentsfield-handling regression.Operational impact
For users on Shared Drives, the connector is effectively zero-write. Per #51040,
create_fileis the only write tool exposed — nomove_file,rename_file,copy_file, ortrash_fileexists as a fallback. Whencreate_fileis broken on every parented call, the integration becomes effectively read-only for any user with a folder structure they care about.A separate Anthropic support thread is open with my org as of 2026-05-07 with engineering escalation requested with Fin basically dismissing the issue. Cross-referencing this issue in that thread.
My Claude uses the
create_filefunction as part of it's workflows. Can confirm it was working properly on 2026-05-07 at around 1AM Pacific. By the time I returned to work on the project (about 9 hours later), the functionality was busted. No change to project or connector permissions. Tried everything mentioned above (connector disconnect/reconnect, full removal and re-addition of the connector, etc) - nothing worked. Still broken today as of this writing.+1 from another platform/plan combo, broadening the matrix:
IDEAS SUELTASnested underPROYECTOS PROPIOS)User cannot add children to the specified folderreq_011CarufPd76eiJCKUecjWtVCombined matrix across reports in this thread + #51040: client (web / desktop / mobile / Cowork), OS (macOS / Windows / Android), plan (Pro individual / Team org), Drive type (My Drive / Shared Drive). All fail identically with an explicit
parentId. Strongly supports @Nicci-Mack's read that the regression sits increate_file's handling of theparentsfield, not in auth/scope/permissions — the matrix is too wide for it to be anything else.Broader context — including why fixing this in isolation isn't enough without a
move_filecompanion to recover all the docs Claude has had to dump into Drive root in the meantime — in my comment on the umbrella issue #51040.This issue and #51040 are both labelled
invalid — doesn't seem to be related to Claude Codeby the autoclassifier. Both are first-party claude.ai connector bugs, not Claude Code CLI bugs. A maintainer reroute to the connector team would help — otherwise these reports keep falling between repos.+1 - key organization workflows currently disabled due to this regression.
Day 7 update (2026-05-10, Sunday): Still reproducing on NPP. Fresh
create_filetest against the same Shared Drive folder, same OAuth session, returns the verbatim error:No fix has landed. Posting to keep the issue active and to confirm this isn't a transient blip... it's been continuously reproducing for 7 days now, across multiple users, multiple folders, and (per OP's report and ours combined) across both My Drive and Shared Drive setups. /bug
Day 7 update from the OP filer (filed via Cowork on 2026-05-08).
Asking for re-triage. This issue is currently labeled
invalidwith no engineer comment in the thread. The reproduction matrix the community has built over the last seven days argues against that label:create_filewith explicitparentIdreturnsUser cannot add children to the specified folder.create_filewithoutparentIdsucceeds and lands at Drive root. Reads (search_files,read_file_content) work normally in the same session.That matrix is too wide to be a per-user, per-permission, or per-account-state issue. It is a regression in
create_file's handling of theparentsfield, as @Nicci-Mack and @nataliamirapeix-ux have already diagnosed in detail above.On my side, additional frequency data: 5+
create_filefailures within a single 6-hour session on 2026-05-08, plus 4 more across the preceding 4 days. Same parentId successfully written to earlier in the session, then permission-denied later — auth state appears to degrade mid-session. Drive web UI confirms ownership of the folders throughout; the permission claim is false.Operational impact for downstream automation: the
parents-field path is the only working write surface for any pipeline that needs to file artifacts into a specific folder. Falling back to "no parentId, lands at root" is not a workaround — it pollutes the Drive root, breaks any folder-based routing convention, and (per @nataliamirapeix-ux's note) requires amove_filecompanion to recover, which the connector also doesn't expose. So in practice this regression has stopped a class of workflows entirely for 7 days.Requesting:
invalidlabel given the matrix above.Happy to provide additional traces, request IDs, or run a specific reproduction if it would help. /bug
Bug Report: Cowork Google Drive connector — create_file returns "User cannot add children to the specified folder"
Date observed: 2026-05-05 → 2026-05-11
Connector: Cowork Google Drive (MCP)
Tool: create_file
Severity: High - Blocks file writes to Drive from Anthropic Claude Cowork sessions
Summary:
create_file against the Cowork Google Drive connector is returning the error User cannot add children to the specified folder. across multiple parent folders, including folders where writes had previously succeeded in another active Cowork session. The failure reproduces in a brand new Cowork chat with no prior context, ruling out per-session state as the cause.
Reproduction
Two create_file write tests were executed back-to-back in a fresh Cowork chat
Test 1 — folder previously failing for me
Result: FAILED
Error string (verbatim): User cannot add children to the specified folder.
Test 2 — folder previously succeeding for me (in another session)
Result: FAILED
Error string (verbatim): User cannot add children to the specified folder.
Re-run on 2026-05-11
Both tests were re-executed on May 11, 2026 with identical parameters. Both failed with the identical error string. No change from May 10 or prior.
The error is not session-scoped. A brand new Cowork chat reproduces the same failure, so per-session token / state corruption is unlikely. The same error is reproduced after Drive disconnect/reconnect, reauthentication. Files and folders are able to be created manually in drive - which defeats the purpose of having the drive connector in cowork.
Expected behavior
create_file should succeed for parent folders the authenticated Google user has edit/contributor access to. The user account has owner/editor access to both test folders in Drive directly.
Fin AI chat in Claude dismisses this issue entirely for days now. Need engineer, this is a /bug that is impacting larger teams and cowork functionality/rollout.
Day 8 update from me — extending my comment of May 9 with fresh data, not another +1. (Correction to that earlier comment: plan is Max, not Pro — typo on my end.)
Re-ran the test today, 2026-05-11 ~14:26 UTC. Same setup otherwise (claude.ai, Max individual, Windows 11 desktop), this time targeting a different owned folder in My Drive.
create_file with explicit parentId (an owned folder, role: owner): FAILS — User cannot add children to the specified folder. — request_id: req_011CavwHetWSNRA2EGfTfM5W
create_file with no parentId (control): succeeds, lands at My Drive root (0AM969h6XI8LgUk9PVA).
get_file_permissions on the same parent folder in the same session: returns role: owner for my account. The connector's permission claim is verifiably false.
This extends @Nicci-Mack's same-session get_file_permissions → create_file diagnostic from Shared Drive (organizer + fileOrganizer roles) to My Drive with role: owner. Same failure, different Drive type, different role tier. The bug is not auth/scope/role-sensitive — it's the parents field handling in create_file, as already hypothesized in this thread.
Operational impact, concrete case: I run a long-form note-keeping workflow where dossiers are written to a specific folder. For 8 days the workaround has been: write to Drive root with a fixed filename prefix so I can filter and manually drag files into the target folder from any device. It works but it's exactly the failure mode I flagged in #51040 — the connector becomes effectively read-only for any folder-based organization scheme, users become their own move_file, and Drive root accumulates artifacts that don't belong there. Per #51040, no move_file tool exists to recover them.
Still requesting:
Removal of the invalid label and reroute to the connector team.
Engineer acknowledgment in-thread.
Even a "we see this, investigating" comment would be enough to stop the daily +1 cycle.
Happy to provide additional request IDs or run further reproductions on request. /bug
Filed a new issue with fresh evidence: #58057
Highlights:
Different account, different plan than @daisyadmin's original report: same exact error string User cannot add children to the specified folder.
Fresh Cowork chat reproduction on 2026-05-10 and again on 2026-05-11 rules out per-session token corruption.
Two parent folders tested, including one where writes were succeeding for the same Google identity from a parallel Code/Cowork session within the same calendar day rules out folder-level Drive ACL as the cause.
Connector-side regression hypothesis: OAuth scope drift (possibly to drive.file), or a missing supportsAllDrives flag on files.create, coinciding with the May 7 platform incident.
Requesting re-triage of this issue or routing of #58057 to the Cowork / Code / claude.ai Drive connector team. The invalid label here left the bug without an owning team and it's still blocking real workflow work.
cc @daisyadmin in case you want to subscribe to #58057 for updates.
Hopefully I am not speaking too soon - but this appears to be resolved as of this morning across my team and I.
Confirming here that fallback logic I incorporated into my Claude workflows stopped firing with a session I started sometime around
2026-05-11T22:53:50.577Z.Day 9 confirmation — appears fixed on my side too.
Tested 2026-05-12 ~16:48 UTC. claude.ai web, Max individual, Windows 11, My Drive owned folder.
In a single fresh chat, ran both write paths that had been failing for me since May 4:
create_file(folder,mimeType: application/vnd.google-apps.folder) with explicitparentId→ succeeds, lands inside the parent.create_file(Doc,textContent) with explicitparentIdpointing at that brand-new subfolder → succeeds, lands inside it.No
User cannot add children to the specified folderon either call. Same account, same plan, same client, same OAuth session, same target folder type as my previously failing run on 2026-05-11 (request_idreq_011CavwHetWSNRA2EGfTfM5W) — only the day changed. Lines up with @Nicci-Mack's "resolved as of this morning" and @abnickerson's 2026-05-11T22:53:50.577Z timestamp.Folder creation with parentId works for me in My Drive — Shared Drive users may want to confirm the fix covers their case too.
Still outstanding, per #51040: a
move_filetool. The 8-day workaround left files stranded at Drive root that the connector can't relocate. Fixing the write path forward doesn't recover the backlog.it's working again in claude web
Closing for now — inactive for too long. Please open a new issue if this is still relevant.