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

weerasinghe4's avatar
weerasinghe4
New member | Level 2
4 years ago

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

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

  

 

    • olavolsf's avatar
      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.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,879 PostsLatest Activity: 5 hours ago
325 Following

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 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!