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')
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!
Go to Solution.
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.
View solution in original post
The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.
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, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!