I have in the past been able to access files in the dropbox account with python.
We recently upgraded to a business account with teams and shared folders.
I can now only access the non-shared folders, it's my understanding that I now need to create a dbx class "as a user" to access the shared folders.
This is my code:
dbx = dropbox.DropboxTeam(token).as_admin('dbid:AABKkpEBW..._N9WJo')
dbx.files_list_folder('')
I'm receiving an error that implies that the id is incorrect:
'Error in call to API function "files/list_folder": Invalid select user id format'
I've also tried the same call with "as_user" and a non-admin id but I get the same error.
I found these ids with the 'team_members_list' function.
Any help is greatly appreciated!