409 when doing multiple Data Transfers

66 views
Skip to first unread message

Jason Coutu

unread,
Mar 8, 2021, 11:58:51 AM3/8/21
to GAM for Google Workspace
Good Morning All

We're having an issue when doing post termination Data Transfers. We do data transfers for their calendars, their drive and their data studio dashboards. 
If any of the transfers have more than a few files to transfer, we get a 409 on the next transfer in the chain as the previous one hasn't finished yet. This makes sense. We need to wait until the transfers have finished. 

We thought the obvious solution to this was to use batch mode in GAM, but it keeps going before the the transfer is finished.

Is anyone else doing something like this?  How have you worked around this issue?

Jason

Brian Kim

unread,
Mar 8, 2021, 12:06:48 PM3/8/21
to GAM for Google Workspace
i have used gam csv users.csv gam create transfer "~email" drive,calendar desti...@domain.com all release_resources
with CSV files containing hundreds of accounts. 

You can't create a transfer while transfer is running, but specifying calendar,drive should let you process the two items at once. 

Jason Coutu

unread,
Mar 8, 2021, 12:30:00 PM3/8/21
to google-ap...@googlegroups.com
Thanks for the quick response. I see from your response that instead of running three commands for my three transfers, I can run one command with the transfer domains as a comma-separated list. 

I'll attach the command I ended up with as it's a good reference for others doing employee offboarding. I made the change and my scripts run perfectly now. 

gam create datatransfer $user calendar,gdrive,"Google Data Studio" $manager


--
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/1b9246e5-196f-45bb-b437-9570316ce40en%40googlegroups.com.


--

Brian Kim

unread,
Mar 8, 2021, 12:39:13 PM3/8/21
to GAM for Google Workspace
Interesting, I did not know google data studio works with create transfer command! thanks for sharing
Reply all
Reply to author
Forward
0 new messages