cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more 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: 

Folder Issue - Path Not Found

Folder Issue - Path Not Found

WscDevelopers
New member | Level 2

Hi,

 

I am trying to upload some videos to our Dropbox account and I am getting a path/not_found exception but the folder exists.

 

WscDevelopers_2-1664719562669.png

 

The function I am using is:

 

 

client.Files.GetMetadataAsync(folderId)

 

 

and the NuGet version 6.13.0

 

Can you please help?

 

 

1 Reply 1

Greg-DB
Dropbox Staff

I can't see for sure with the redaction in your screenshot, but it seems like you're attempting to access a folder in your "team space".

 

By default, API calls, such as GetMetadataAsync, operate in the "member folder" of the connected account, not the "team space", so the contents of the team space won't be found by default. You can configure API calls to operate in the "team space" instead though. To do so, you'll need to set the "Dropbox-Api-Path-Root" header. You can find information on this in the Team Files Guide. Using the Dropbox .NET SDK, you can set that header using the WithPathRoot method.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?