Skip to content

Claude/add claude documentation 7 wp79#36

Merged
DaLuSt merged 2 commits intomainfrom
claude/add-claude-documentation-7Wp79
Feb 27, 2026
Merged

Claude/add claude documentation 7 wp79#36
DaLuSt merged 2 commits intomainfrom
claude/add-claude-documentation-7Wp79

Conversation

@DaLuSt
Copy link
Copy Markdown
Owner

@DaLuSt DaLuSt commented Feb 27, 2026

No description provided.

When files().create() is called with a parent folder that the service
account cannot access, Drive returns a confusing 404 with the folder ID
masked by GitHub secrets. Add _check_folder() which calls files().get()
on the folder first and re-raises any 404 as a clear RuntimeError
telling the user to share the folder with the service account email.

https://claude.ai/code/session_014HLhrFtCVRFnEyfRexiy3d
drive.file only covers files the service account itself created; it
cannot see or use as a parent any folder shared with the account by
a user. Switching to the drive scope allows the service account to
access any Drive resource it has been granted permission to, which
is required for uploading into a user-shared folder.

https://claude.ai/code/session_014HLhrFtCVRFnEyfRexiy3d
@DaLuSt DaLuSt merged commit dfc04fb into main Feb 27, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants