GAM-team / GAM

command line management for Google Workspace
https://github.com/GAM-team/GAM/wiki
Apache License 2.0
3.5k stars 470 forks source link

todrive failure #1682

Closed ciuchs closed 5 months ago

ciuchs commented 5 months ago

The issue tracker is for reporting product deficiencies. "How do I?" questions should be posted to the discussion forum at https://groups.google.com/group/google-apps-manager. When in doubt, start at the discussion forum and return here only when instructed to do so.

Please confirm the following:

Full steps to reproduce the issue:

  1. ran command without todrive and it works
  2. ran command with todrive and irt fails with error ERROR: ('internal_failure: None', {'error': 'internal_failure'})
  3. ran command gam user myusername check serviceaccount - Computer clock status: Your system time differs from admin.googleapis.com by less than 1 second PASS Service Account Private Key Authentication: Authenticating... PASS Checking key age. Google recommends rotating keys on a routine basis... Key is -1 days old PASS Domain-Wide Delegation authentication as iuchsc@sedalia200.org: https://mail.google.com/ PASS https://www.googleapis.com/auth/apps.alerts PASS https://www.googleapis.com/auth/calendar PASS https://www.googleapis.com/auth/cloud-identity PASS https://www.googleapis.com/auth/drive PASS https://www.googleapis.com/auth/drive.activity PASS https://www.googleapis.com/auth/gmail.settings.basic PASS https://www.googleapis.com/auth/gmail.settings.sharing PASS https://www.googleapis.com/auth/spreadsheets PASS

All scopes passed! Service account 114373733402768594566 is fully authorized.

Expected outcome (what are you trying to do?): export a list of user files to drive using command gam user username show filelist todrive

Actual outcome (what errors or bad behavior do you see instead?):gam : Getting files for xxxx... At line:1 char:1

Got 1000 Files for xxxx... Got 1468 Files for xxxx... ERROR: ('internal_failure: None', {'error': 'internal_failure'})