Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
HI All
I have an issue in C# dbx.Files.GetTemporaryLinkAsync method
when I pass a root folder it generates the URL and works like a charm but when you send the sub-folder path it returns
{"path/not_found/..."}
Any idea, please
public static string GetTempDropboxImageUrl(string File,string token)
{
var dbx = new DropboxClient(token);
var response = dbx.Files.GetTemporaryLinkAsync(File).Result;
return response.Link;
}
A 'not_found' error from GetTemporaryLinkAsync indicates "There is nothing at the given path.". Are you sure you're passing in a correct path? How are you retrieving/building the path value?
I don't know if it is useful yet, but I was having the same problem. It was due to the fact that, for reasons of making some checks, I removed the "var dbx = new DroboxClient(AcessToken)" from the "using" clause. When I put it back, everything worked.
Hope this helps someone.
Best regards.
Hi there!
If you need more help you can view your support options (expected response time for a ticket is 24 hours), or contact us on Twitter or Facebook.
For more info on available support options, see this article.
If you found the answer to your question, please 'like' the post to say thanks to the user!