Your workflow is unique 👨💻 - tell us how you use Dropbox 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);
});1 Reply
- Greg-DB5 years ago
Dropbox Community Moderator
This seems to be a duplicate of this thread. Please refer to that for more information.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!