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
EvgenyAGRO
6 years agoExplorer | Level 4
Downloading/getting file metadata of files that are located in a team folder
I'm using Java Dropbox v2 SDK version 3.1.0(latest) and I think it is either missing very basic functionality or I'm missing something.
I've got files located in a team folder(shared folder). I'm trying to get those files metadata/download them using file id/path and I encounter an error of path_not_found. From my research regarding this issue I've realized that I have to add a special header called "Dropbox-API-Path-Root" with the relevant namespace id to retrieve metadata/download files from that folder. So I want to know if there is any way to add this header to download/get_metadata requests using the Java SDK(I couldn't find how to do it)? Or the only way to do it is by implementing REST client by myself?
Thanks
- vlad_vavilinNew member | Level 2
I encountered the same problem, the answer will be helpfull for me too.
- TaylorKrusenDropbox Staff
Based on your question, it looks like you've already read it, but the Namespace Guide is a worthwhile resource on this topic.
There's a method in the Java SDK that can help with this called withPathRoot.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,917 PostsLatest Activity: 11 days ago
If 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!