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
wwaag76
7 years agoHelpful | Level 6
Path Not Found Error
New user here just working through the tutorial https://www.dropbox.com/developers/documentation/dotnet#tutorial When I generate a token using an app for Full Dropbox, it works OK. However, if I g...
- 7 years ago
Problem solved. Didn't understand that the App folder was created under the main folder Apps. Now working OK. Thanks.
wwaag76
Helpful | Level 6
I assume things are erroring out at the call to ListRootFolder()?
No, it gets past that call. It's the Download call that produces the error. Here's the code for the Download method.
async Task Download(DropboxClient dbx, string folder, string file) { using (var response = await dbx.Files.DownloadAsync(folder + "/" + file)) //using (var response = await dbx.Files.DownloadAsync(file)) { Console.WriteLine(await response.GetContentAsStringAsync()); } }
wwaag76
7 years agoHelpful | Level 6
One other thing. Inside the app looks like this.
- wwaag767 years agoHelpful | Level 6
Problem solved. Didn't understand that the App folder was created under the main folder Apps. Now working OK. Thanks.
- ABDUL_REHMAN5 years agoNew member | Level 2
I use this code as well but get the same error. I use code following as :
async Task Download(DropboxClient dbx, string folder, string file) { using (var response = await dbx.Files.DownloadAsync(folder + "/" + file)) { Console.WriteLine(await response.GetContentAsStringAsync()); } }
and Pass perameters like :
await Download(client, "/Apps/Retailme", "Retailme.exe");
But there is same error path/not_found
- Greg-DB5 years agoDropbox Staff
[Cross-linking for reference: https://stackoverflow.com/questions/61527512/dropbox-file-download-error-path-not-found-using-c-sharp ]
ABDUL_REHMAN If you're using an app with the "app folder" permission, you don't need to include the path of the app folder itself when making API calls, such as "/Apps/Retailme". The Dropbox API will automatically interpret your paths as being relative to your app folder.
So, for example, in your code you wouldn't need to include that "/Apps/Retailme". With how that code snippet is set up, you would instead specify a "folder" value of "", which would result in the final path of "/Retailme.exe" for a file inside your app folder.
- raiam2 years agoNew member | Level 2
can you elaborate on what was the final path url?
i created mine called: "implementation-dev"but I am getting `path/not_found/`, I tried: /home/Apps/implementation-dev, [Company]/Apps/implementation-dev, /implementation-dev, but.nothing works
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 4 days 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!