We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.
Forum Discussion
aosingh
7 years agoExplorer | Level 4
Dropbox Business API || Connected as an Admin || Path is always None
Hi,
I am using the Dropbox Business API and connecting to an account as an admin in the following way.
(Python SDK)
dbx_team = DropboxTeam(token) # For Business(Team) Accounts admin_pro...
Greg-DB
7 years agoDropbox Staff
Is the `root_name_space` in your code referring to a team space?
If so, in order to access the team root using the Python SDK and get the relative paths, you'll need to use `with_path_root` like this:
dbx.with_path_root(dropbox.common.PathRoot.root(root_name_space)).files_list_folder("")
Apologies this isn't better documented yet!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,875 PostsLatest Activity: 2 months 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!