Invalid argument when trying to download Vault export

44 views
Skip to first unread message

Konstantin S

unread,
Sep 27, 2022, 12:00:50 PM9/27/22
to GAM for Google Workspace
Hi team, 

I am stuck here. Trying to run a command to download an Vault export as per this page: 

Command is the following: 

gam download export <Mattername> <Exportname>  targetfolder <FilePath>



And I am getting the following error: 
PS C:\Windows\system32> gam download export Test kon targetfolder C:\Users\kosh\
saving to C:\Users\kosh\\196676527:8001da01-5467-4628-be85-0029e934e041:v3_MAIL_5614c0bf-a57f-48f3-917c-86ef509b1276-kon-1.zip

ERROR: [Errno 22] Invalid argument: 'C:\\Users\\kosh\\\\196676527:8001da01-5467-4628-be85-0029e934e041:v3_MAIL_5614c0bf-a57f-48f3-917c-86ef509b1276-kon-1.zip'

Please help. I am trying to save to any local location and it does not work. Is it also expected to work if I try saving to Google Drive location as part of Google Drive for Desktop setup? 

Thanks. 

Ross Scroggs

unread,
Sep 27, 2022, 1:20:18 PM9/27/22
to google-ap...@googlegroups.com
Konstantin,

Omit the trailing \ on targetfolder; does that help?

gam download export Test kon targetfolder C:\Users\kosh

Ross

--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/6bb35ff5-604f-402c-83d4-b36651b17f46n%40googlegroups.com.


--

Ross Scroggs

unread,
Sep 27, 2022, 5:09:59 PM9/27/22
to google-ap...@googlegroups.com
Konstantin,

This will work in Advanced GAM 6.27.04; the problem is the : characters in the file name.

Ross
--
Reply all
Reply to author
Forward
0 new messages