Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

Rich F.5's avatar
Rich F.5
Explorer | Level 4
10 months ago
Solved

Can't Find Files in Ruby dropbox_api

Hi folks.  I have an API issue here.   I'm using the Ruby gem dropbox_api.  I've registered a Dropbox project for a folder in my Dropbox root path.  I can't seem to list the files inside that root....
  • iNeil's avatar
    iNeil
    10 months ago

    Hello Rich F.5,

    When you use an access token from an API app with the “app folder" access type, you are correct that the root path of your API calls refers to your app's dedicated folder. For example, if I create an API app named “TestAppFolder” with the “app folder” access type, I will only have access to the folder located at the path /Apps/TestAppFolder while using the access token connected to that API app. If the app folder "TestAppFolder" is empty, no files or folders will be listed when calling the Dropbox API.

    Would you be able to cross-check if the app folder you're attempting to access contains any files or folders?

    Please note that when using an API app with access type 'app folder', each user gets their own separate app folder in their account when they authorize the app to connect. The app folders for different users of an app do not sync with each other. 

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with 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!