Google Workspace APIs · api · fg-0017

App with the drive.file scope cannot see a Sheet created by hand

If you see 404 File not found for a file that exists, the cause and the fix for Google Workspace APIs are below, last verified 2026-08-11.

Verified Aug 2026trust 50/100
Symptom
404 File not found for a file that existsFiles created in the browser are invisible to the app
Cause
The drive.file scope only reaches files the app itself created or was explicitly given through a picker. In exchange it avoids restricted scope verification.
Fix
Have the app's setup script create the Sheets and folders it needs.
Apply
Create the file through the API with the same OAuth client, then store its id for later runs.
Affected
Google Drive API v3, August 2026

Last verified 2026-08-11 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun