cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We want your feedback when it comes to using Dropbox in a web browser. Tell us your thoughts right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
1
Ask
2
Reply and help

Re: Return {"path/not_found/..."}

Return {"path/not_found/..."}

weerasinghe4
New member | Level 2

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;
}

  

 

2 Replies 2

Re: Return {"path/not_found/..."}

Greg-DB
Dropboxer

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?

Re: Return {"path/not_found/..."}

olavolsf
Explorer | Level 3

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.

Need more support?