Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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!
Solved!
I was using the account id and not the member id. Member ids start with dbmid as opposed to account ids that start with dbid.
Solved!
I was using the account id and not the member id. Member ids start with dbmid as opposed to account ids that start with dbid.
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on Twitter or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!