We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
Faulk
2 years agoExplorer | Level 4
Can't Access Business Account Root Folders from Dropbox Client App
Hello,
Our company has a business advanced account, with members managed through Azure AD. At the root are two folders: one for my account, "Faulk", and another intended to house externally man...
- 2 years ago
Hi Faulk,
By default the point assumed to be root for API access is users home folder (i.e. your Faulk folder), not the account root. If you want to change this root to any other namespace (including to account root), you need to use Dropbox-API-Path-Root header. 😉
Hope this helps.
Здравко
Legendary | Level 20
Hi Faulk,
By default the point assumed to be root for API access is users home folder (i.e. your Faulk folder), not the account root. If you want to change this root to any other namespace (including to account root), you need to use Dropbox-API-Path-Root header. 😉
Hope this helps.
Faulk
2 years agoExplorer | Level 4
You are 100% correct. Been beating my head against the wall for hours and it was that easy. For anyone coming across this, the corrective steps were:
- Call users/get_current_account and grab the "root_namespace_id" value from the account result.
- Add a Dropbox-API-Path-Root header with a value {".tag": "namespace_id", "namespace_id": "<that value>"} to the files/list_folder call.
From there you can adjust the path value as needed.
For those using the SDK, here's an example (.net):
using (DropboxClient client = new DropboxClient(<accessToken>).WithPathRoot(new Dropbox.Api.Common.PathRoot.NamespaceId(<root path id>)))
{
}
Thanks so much for your help and quick reply!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 33 minutes 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!