We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.

Forum Discussion

rostyslavpopov's avatar
rostyslavpopov
Explorer | Level 3
22 days ago

Upload file to a shared folder Salesforce

i've created an app with full dropbox access and now I need to upload file to certain dropbox folder that's shared with my user. How do I achieve that? I tried setting up a path that represents folder I need to use but it only created everything in my user folder instead. So how do I put files into shared folder instead?

  • With an app with the "full Dropbox" access type, you can specify the path to any folder, but note that if you're trying to access something in the "team space" in particular, that will require some additional configuration.

     

    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.

     

    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.

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

    With an app with the "full Dropbox" access type, you can specify the path to any folder, but note that if you're trying to access something in the "team space" in particular, that will require some additional configuration.

     

    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.

     

    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,875 PostsLatest Activity: 7 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!