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
Esikhoob
2 years agoHelpful | Level 5
What path argument should I pass to .NET CreateSharedLinkWithSettingsAsync()
Hi In our Website, written with ASP.NET and C#, we want to use .NET API to get shared link for a file. I found the method for this purpose named: CreateSharedLinkWithSettingsAsync() but all my trie...
- 2 years ago
Esikhoob A 'path/malformed_path' error would indicate that the path value is invalid due to not being formed correctly; for example, this can occur if there is whitespace at the end of the path value.
A 'path/not_found' error would indicate that the path value is properly formed, but nothing was found at the specified path in the connected account/root.
Apps with the "app folder" access type are automatically rooted in the special app folder created for the app in the connected account, so yes, if you have a file named "Iran4K.mp4" directly in the app folder in the connected account, you would use a path value of "/Iran4K.mp4".
To list the contents of whatever root your app is accessing, such as the app folder, you can use ListFolderAsync/ListFolderContinueAsync starting with 'path' set to the empty string "'.
Esikhoob
Helpful | Level 5
Hi
I can see the path I have passed during link creation, in my Dropbox`s account. I have successfully created shared links with equivalent javascript SDK`s function; I am using the same path that was successful there.
One question is: shouldn`t I enter path of files which exist in this App folder?
. . . (take in mind root namespace has to be the same for business accounts)? 🧐
What is root namespace?
. . . If you're trying to pass local path, it won't work, . . .
What you mean by local path. If I have a file named "Iran4K.mp4" in this App folder, should n`t I enter like this:
CreateSharedLinkWithSettingsAsync("/Iran4K.mp4")
Thanks in advance
Greg-DB
2 years agoDropbox Staff
Esikhoob A 'path/malformed_path' error would indicate that the path value is invalid due to not being formed correctly; for example, this can occur if there is whitespace at the end of the path value.
A 'path/not_found' error would indicate that the path value is properly formed, but nothing was found at the specified path in the connected account/root.
Apps with the "app folder" access type are automatically rooted in the special app folder created for the app in the connected account, so yes, if you have a file named "Iran4K.mp4" directly in the app folder in the connected account, you would use a path value of "/Iran4K.mp4".
To list the contents of whatever root your app is accessing, such as the app folder, you can use ListFolderAsync/ListFolderContinueAsync starting with 'path' set to the empty string "'.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,885 PostsLatest Activity: 28 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!