You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
TheWhistler1967
3 years agoExplorer | Level 3
How to 'operate on a team member\'s Dropbox' in python
Error:
Error in call to API function "files/list_folder": This API function operates on a single Dropbox account, but the OAuth 2 access token you provided is for an entire Dropbox Business team. S...
- 3 years ago
TheWhistler1967 wrote:Ok so it seems this is a DropboxTeams thing, so maybe this is closer:
...
dbx_t_as_user = dbx_t.as_user("dbid:<string>")
......
Hi TheWhistler1967,
As far as I can see, you are trying use your account id (starts "dbid") as a team member id (starts "dbmid"). 🤫 Select the correct identifier. 😉
Hope this helps.
TheWhistler1967
Explorer | Level 3
Ok so it seems this is a DropboxTeams thing, so maybe this is closer:
dbx_t = dropbox.DropboxTeam(TOKEN)
dbx_t_as_user = dbx_t.as_user("dbid:<string>")
response = dbx_t_as_user.files_list_folder('')
But a new error:
'Error in call to API function "files/list_folder": Invalid select user id format'
Здравко
3 years agoLegendary | Level 20
TheWhistler1967 wrote:Ok so it seems this is a DropboxTeams thing, so maybe this is closer:
...
dbx_t_as_user = dbx_t.as_user("dbid:<string>")
......
Hi TheWhistler1967,
As far as I can see, you are trying use your account id (starts "dbid") as a team member id (starts "dbmid"). 🤫 Select the correct identifier. 😉
Hope this helps.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,882 PostsLatest Activity: 8 hours agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X 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!