One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
Manfred Jeske
5 years agoExplorer | Level 3
Problem of getting full folder path from the shared dropbox link
I am uploading an image to dropbox shared folder link, so I need full path of this shared dropbox link to upload image to that specific folder. I passed url of the shared folder link to sharing/get_shared_link_metadata but I didn't get path as response. This is the authenticated user account. So, why I didn't get path as response.
dbx.sharingGetSharedLinkMetadata({url: <shared_folder_link>}) .then(function(response) { console.log(response); var pathname = response.result.path_lower; dbx.filesUpload({path: pathname+"/image.png", contents: data}) .then(function(response) { console.log(response); }) .catch(function(error) { console.error(error); }); }) .catch(function(error) { console.error(error); });
- Greg-DB
Dropbox Staff
This seems to be a duplicate of this thread. Please refer to that for more information.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,945 PostsLatest Activity: 11 hours 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!