Select to view content in your preferred language

Preventing TOTP timeout while batch downloading Online data

189
0
10-10-2024 03:49 AM
Labels (2)
Terry-1
New Contributor

Hi all,

I am using the Python script in this article ( https://support.esri.com/en-us/knowledge-base/back-up-hosted-content-by-looping-through-and-download... ) to batch download our ArcGIS Online data to store a local backup. The script works, however it periodically pauses requesting a one time passcode to be inputted due to having multi factor authentication enabled. When this happens, the current file being prepared for download fails and then continues with the next file once the code has been inputted.

Ideally I would like to be able to set it and forget it without the need to babysit it, continually provide a code, and without the download failures.

I created an API key and passed this into the script, hoping it would alleviate the need to provide the TOTP, but the API can only access my data and not that of the entire organisation. Is it possible to create an organisation wide API key that would have access to download data created by all users?

Thanks

0 Kudos
0 Replies