Forum Discussion

Mesqueeb's avatar
Mesqueeb
Helpful | Level 6
9 years ago
Solved

dropbox javascript api points to folder inside of Apps directory

Hello community,

 

I have created a dropbox App with  'Permission type: App folder'.

I have filled in a name in the 'App folder name' and this was automatically created in my Dropbox in a directory `/App/folder-name`

 

Now I have 2 questions:

 

1. Can I also point the dropbox Javascript API to an existing folder outside the `App` directory?

2. If I change the 'App folder name' setting at dropbox's developer page: 'My Apps', do I need to regenerate the 'Generated access token' ?

 

  • 1. If your app is registered for the "app folder" permission, it cannot access anything outside of its own app folder. If you need your app to access items outside an app folder, you'll need to register another app for the "full Dropbox" permission instead. Note that apps registered for the full Dropbox permission do not get an app folder automatically created for them, but can access any existing folders, or make new ones.

    2. If you change the 'App folder name' setting for an app with the app folder permission, that will change the name for any newly created app folders. It will not change the name of any app folders that have already been created, and it will not affect existing access tokens.

1 Reply

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    9 years ago
    1. If your app is registered for the "app folder" permission, it cannot access anything outside of its own app folder. If you need your app to access items outside an app folder, you'll need to register another app for the "full Dropbox" permission instead. Note that apps registered for the full Dropbox permission do not get an app folder automatically created for them, but can access any existing folders, or make new ones.

    2. If you change the 'App folder name' setting for an app with the app folder permission, that will change the name for any newly created app folders. It will not change the name of any app folders that have already been created, and it will not affect existing access tokens.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!