Google Workspace APIs · api · fg-0017

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

404 File not found for a file that exists

Verified 2026-08-11 · Confirmed by 0 builders · Trust 50/100

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.

Affects: Google Drive API v3, August 2026

Have your agent know this before it fails

claude mcp add --transport http footgun https://getfootgun.com/api/mcp