Take Your Search Game to the Next Level with Dropbox Dash  🚀✨ Curious how it works? Ask us here! 

Forum Discussion

RFrendt's avatar
RFrendt
Explorer | Level 3
7 days ago

Can't create new folder at root level of Dropbox using API

Hi there,

We are using the Make.com app (which is in the Dropbox App Store) to create new folders in our Dropbox drive.

Dropbox will not allow us to create new folders at the ROOT LEVEL of our Dropbox drive. Dropbox gives us this error message whenever we try to create a new folder at the root level of our Dropbox drive:
[409] path/no_write_permission/

However, Dropbox DOES allow us to successfully create new folders at DEEPER LEVELS of our Dropbox drive. We just can't create new folders at the root level. Creating folders at any other level is working just fine.

We are using the Make.com app to perform all of these API calls to Dropbox.

Any thoughts on how to resolve this issue?

4 Replies

  • DB-Des's avatar
    DB-Des
    Icon for Dropbox Engineer rankDropbox Engineer

    Hi RFrendt​ 

    By default, API calls to the Dropbox API operate in the "member folder" of the connected account, 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.
     
    That said, we are not familiar with make.com's integration. If you require any further assistance to set up your API calls to work as described above, you will need to reach out to make.com's support team for help with the configuration/setup.

    • RFrendt's avatar
      RFrendt
      Explorer | Level 3

      Thanks so much, DB-Des​!

      We tried using Zapier (instead of Make.com), and Zapier gives us the option of choosing the "team space".

      However, Zapier won't allow us to create new folders at the team root level, which makes it seem like the "Dropbox-API-Path-Root" header isn't set properly.

      Do you know if we can set the "Dropbox-API-Path-Root" header using Zapier?

      (If we're able to figure out with Zapier, then we might be able to figure it out using Make as well.)

      • DB-Des's avatar
        DB-Des
        Icon for Dropbox Engineer rankDropbox Engineer

        Hi RFrendt​,

        You will need to reach out to Zapier support team for assistance on that as well.

  • RFrendt's avatar
    RFrendt
    Explorer | Level 3

    It seems like Dropbox allows us to use the API to create folders at the root level of our Dropbox directory if we have signed up for one of Dropbox's "individual/personal" plans.

    However, as soon as we upgraded to one of Dropbox's "team" plans, we can no longer use the API to create folders at the root level of our Dropbox directory.

    In other words, if somebody is on a personal pricing plan with Dropbox, writing to the root directory is allowed via the API. But as soon as someone upgrades to a Teams plan with Dropbox, writing to the root directory via the API is no longer allowed. 

    Are there any other solutions to this, besides downgrading back to an individual/personal plan?