-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tdupdatesheet tdsheet not working ? #256
Comments
Send me a Meet/Zoom invitation and I'll help you get the data you want. ross.scroggs @ gmail.com |
This is going to overwrite the sheet for each team drive:
To get a single sheet:
Open Sheets file xxxx, select the tab of interest, look at the URL, the id is here: |
Thank you, I will test that next week. |
This error implies that the todrive_user value in gam.cfg is incorrect. Do: |
the value is good because with another command todrive it's ok |
Send me a Meet/Zoom invitation
--
***@***.***
… On Mar 18, 2022, at 9:16 AM, lefoimpeur ***@***.***> wrote:
the value is good because with another command todrive it's ok
—
Reply to this email directly, view it on GitHub <#256 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACCTYLYHOJN5BM2ETLEDESTVAST67ANCNFSM5RBYQEYA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.
|
Hi, In my gam config file --> Configuration is good because with another command todrive it's ok, example : And if I put my email --> |
I'm in California (PDT), please send a Meet/Zoom invitation and I'll help
solve your issue.
I'm not able to solve it via email.
Ross
…On Mon, Mar 21, 2022 at 1:36 AM lefoimpeur ***@***.***> wrote:
Hi,
In my gam config file --> todrive_user = ''
So by default it must use my account.
Configuration is good because with another command todrive it's ok,
example :
gam user ***@***.*** print teamdrives role organizer | gam csv - gam user
~User print filelist select teamdriveid ~id query "visibility =
'domainWithLink'" todrive tduploadnodata false tdparent id:xxxx
[image: Capture d’écran 2022-03-21 à 09 09 21]
<https://user-images.githubusercontent.com/7026864/159226888-36cb1b31-4c22-4c04-98ca-843b46ccb3e7.png>
[image: Capture d’écran 2022-03-21 à 09 10 53]
<https://user-images.githubusercontent.com/7026864/159226917-ab8e6873-8bcc-4259-a76a-e5096eab9f89.png>
And if I put my email --> todrive_user = ***@***.***
I've got same error
—
Reply to this email directly, view it on GitHub
<#256 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACCTYLYNPEPSKGCHOCYR33LVBAYHFANCNFSM5RBYQEYA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
--
Ross Scroggs
***@***.***
|
Hi, I can't do that, it's for my company :-( |
What is: gam version
Do: gam config verify
Note: admin_email and todrive_user
Do: gam oauth info
Note: Google Workspace Admin
When you do todrive, GAM uses the first address it finds
1) todrive_user
2) admin_email
3) Google Workspace Admin
For any of these addresses do the following to verify drive access:
gam user ***@***.*** show drivesettings
Ross
--
***@***.***
… On Mar 23, 2022, at 1:33 AM, lefoimpeur ***@***.***> wrote:
Hi, I can't di that, it's for my company :-(
—
Reply to this email directly, view it on GitHub <#256 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACCTYLZEFXWFRNHTEULK77TVBLJNHANCNFSM5RBYQEYA>.
You are receiving this because you commented.
|
Hi,
|
Again, what is you GAM version?
--
***@***.***
… On Mar 25, 2022, at 6:27 AM, lefoimpeur ***@***.***> wrote:
Hi,
todrive_user is blank
admin_email is blank
Google Workspace Admin = my adm email = ***@***.*** in my example
—
Reply to this email directly, view it on GitHub <#256 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACCTYLY5C3DNYIANXEJZAMLVBW5K3ANCNFSM5RBYQEYA>.
You are receiving this because you commented.
|
GAMADV 6.16.18 |
Show a command that works and one that doesn't, the screen shots with the redactions are hard to read, copy the output into a file. Replace actual addresses with admin@domain.com for your workspace admin and user@domain.com for any other address. |
Command NOK :
Command OK :
gam config :
gam oauth info :
|
In the first command you have: Both commands work for me. Test the second command with |
In the first command, each teamdrive processed is updating the same file, you should add the multiprocess keyword as show below to get all of the data in the file:
|
From the first command: tdfileid xxx Do: gam user admin@domain.com show fileinfo xxx |
Split the first command into two parts; does this make any difference?
|
Do:
What do you get for:
|
Has your issue been resolved? |
Hi, No and I didn't test your suggestions. |
Hi,
The "tdupdatesheet" attribute of the "todrive" parameter seems does not work with the "tdsheet" attribute.
It never finds the sheet either with the name or the id.
Always the same error whether the name of the sheet is correct or fake :
ERROR: Invalid User, Config File: C:\Users\zzz.gam\gam.cfg, Item: todrive_user, Value: zzz@yyy, Not Found
Command line :
gam user xxxx@yyy print teamdrives role organizer | gam csv - gam user ~User print filelist select teamdriveid ~id query "visibility = 'domainWithLink'" todrive tduploadnodata false tdfileid xxxx tdsheet id:0 tdupdatesheet
Other similar commands work perfectly, so the user is not invalid :
gam user xxxx@yyy print teamdrives role organizer | gam csv - gam user ~User print filelist select teamdriveid ~id query "visibility = 'domainWithLink'" todrive tduploadnodata false tdparent id:xxxx
gam user xxxx@yyy print teamdrives role organizer | gam csv - gam user ~User print filelist select teamdriveid ~id query "visibility = 'domainWithLink'" todrive tduploadnodata false tdfileid xxxx tdcopysheet id:0
Is this a bug or syntax error on mine ?
(I'm usign 6.16.18 version)
Thanks in advance
The text was updated successfully, but these errors were encountered: