Troubleshooting

Google Drive Connected, But Agent Can’t Upload Files?

A deterministic fix flow for “connected but upload failed” loops: prove account, folder, and permission state before reconnecting again.

Community pattern: Drive shows as connected, reads sometimes work, but uploads fail with vague errors. Most cases are wrong account, wrong target folder/shared-drive permissions, or blocked file type/size assumptions.

Loop-break rule: do not reconnect Drive 5 times in a row. Run one tiny upload canary first, then change only one variable at a time.

What this usually means

5-minute deterministic recovery flow

1) Lock account + destination first

Tell the agent the exact Google account email and exact destination folder name/path before any upload attempt.

2) Run a tiny canary upload

Upload one small text file (for example canary-drive-upload.txt) and require returned proof: folder name, file name, and created timestamp.

3) Verify from the same account

Open Drive in the same Google account and search exact filename. If missing, check “Recent” and shared-drive destination confusion.

4) If canary fails, check permissions before reconnect

Confirm upload rights in the target folder/shared drive. Read access does not always include create/upload permission.

5) Reconnect once, then retest once

If needed, reconnect Drive in one clean browser flow and immediately rerun the same tiny canary test. Avoid random prompt changes.

Copy/paste recovery prompt

Google Drive is connected, but uploads fail. Do exactly this: 1) Confirm active Google account email you are using for Drive operations. 2) Target this destination folder exactly: [PASTE FOLDER NAME OR PATH]. 3) Upload a tiny file named: canary-drive-upload.txt with content: "drive canary [today's date]". 4) Return proof only: - account email - destination folder/path used - uploaded filename - created timestamp 5) If upload fails, return exact raw error text and one likely cause (no guessing list).

High-friction edge cases

If tiny upload works but real file fails

  1. Compare file size: test one medium file (for example 1–5 MB) before large uploads.
  2. Compare file type: try .txt.csv → your real type (for example .pdf, .docx, .zip).
  3. Keep destination fixed: do not change folder and file type at the same time.
  4. Return exact raw error: require the agent to quote exact provider error text and upload attempt timestamp.

When to escalate

Escalate after one clean canary cycle if upload still fails with the same raw error and account/folder are confirmed.

Support packet: - Goal: "Upload file to Google Drive folder" - Connector status: connected (yes/no) - Active Google account email used - Exact destination folder/path - Canary filename used - Exact raw error text from failed upload - Surface used (dashboard / Discord DM / server thread) - Whether reconnect was attempted once in clean browser flow

Bottom line: treat Drive uploads as a proof-first operation: lock account + folder, run a tiny canary, then scale. This kills most reconnect loops fast.