We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

Stenkar's avatar
Stenkar
New member | Level 2
2 years ago

File path has changed after 21. October update

Hello!

 

We are using Dropbox to read and write files through API.

 

We have a team folder that is called /Company's shared workspace and we used to send all files to this folder.

 

Today, when I tried to read some files from our Software, which is integrated with Dropbox via API, I got a lot of errors like DownloadError('path', LookupError('not_found', None)))

 

Then I logged in to the Dropbox web application and saw all files uploaded after 21. October update went to the new folder path called /MyName/Company's shared workspace

 

Why did this happen, and how can I read and write all files from the old folder(/Company's shared workspace)?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Stenkar Rich is correct, it sounds like your team is now using the "team space".

     

    Note that by default, API calls to the Dropbox API operate in the "member folder" of the connected account, not the "team space". That means that by default, the contents of the team space will not be found, and uploads will go to the member folder, not the team space.

     

    You can configure API calls to operate in the "team space" instead though, in order to interact with files/folders in the team space. To do so, you'll need to set the "Dropbox-API-Path-Root" header. You can find information on how to use this in the Team Files Guide.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,877 PostsLatest Activity: 4 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!