by adom
Drive your whole Google Workspace from the terminal, run by your AI. Read Gmail, write Google Docs, build Google Sheets and Google Slides, search Google Drive, manage Google Calendar and Google Tasks, and post to Google Chat, plus any Google API and a zero-setup personal Gmail.
YouTube upload cannot reach a personal gmail channel (API off on the personal app, scopes cannot be combined)
Trying to upload a video to a personal (gmail.com) YouTube channel with adom-google, for AI Flow: Video, which is meant to work for any Adom user.
What happened
- The work app is limited to the adom.inc organisation, so a gmail.com account is refused ("Error 403: org_internal").
- On the personal app, adding the YouTube scopes to an existing account fails: Google says the scopes "cannot be requested together" with drive.file. YouTube needs its own account with only youtube.upload and youtube.
scopes --require youtube.upload --auto-widenbuilds the union and hits this. - With a YouTube-only account on the personal app, consent works (after Google's "hasn't verified this app" screen, Advanced, Go to adom.cloud) and the brand-account chooser appears, but every call then fails with "API not enabled": the YouTube Data API v3 is switched off in the personal app's Google Cloud project.
auth --url-filewithout--waitunder a short timeout leaves a consent link whose callback answers "Session Expired"; worth a hint to keep the command running.
What would fix it for outside users
- Enable YouTube Data API v3 in the personal app's Google Cloud project.
- Give
autha YouTube-only mode (for example--youtube) that requests just the two YouTube scopes, and have--auto-widensay so instead of building a union Google refuses. - Get the YouTube scopes verified for the personal app, or outside users see the unverified-app warning.
- A hint on the brand-account chooser: pick the channel, not just the account.
Until then AI Flow: Video falls back to uploading through YouTube Studio in a pup window, which works but is slow.