Forum Discussion

b333fy's avatar
b333fy
Explorer | Level 3
2 years ago
Solved

New to Dropbox.Api trying the basics and getting a bit stuck

Hey Everyone,

I am using Dropbox.Api (Nuget) and can access my Account info (Name, Email Root Space Id) via Generated Access Token
However when I do a simple 
var list = await dbx.Files.ListFolderAsync(string.Empty);
It returns no items though I have many folders and subfolders in my account.
I have a Dropbox Plus Personal account and have checked all the permissions in App Console.

Any ideas?

Thanks Brandon


  • b333fy wrote:

    ...
    However when I do a simple 
    var list = await dbx.Files.ListFolderAsync(string.Empty);
    It returns no items though I have many folders and subfolders in my account.
    ...


    Hi b333fy,

    What type is your application  - full access Dropbox application or "App Folder" type? 🧐

    Keep in mind that "App Folder" app type lists just the application specific folder only, not the entire account. 😉 Do you have something put in your application folder? Put there something and try again or recreate your application with different type.

    Hope this helps.

  • Здравко's avatar
    Здравко
    Legendary | Level 20

    b333fy wrote:

    ...
    However when I do a simple 
    var list = await dbx.Files.ListFolderAsync(string.Empty);
    It returns no items though I have many folders and subfolders in my account.
    ...


    Hi b333fy,

    What type is your application  - full access Dropbox application or "App Folder" type? 🧐

    Keep in mind that "App Folder" app type lists just the application specific folder only, not the entire account. 😉 Do you have something put in your application folder? Put there something and try again or recreate your application with different type.

    Hope this helps.

    • b333fy's avatar
      b333fy
      Explorer | Level 3

      You hit the nail on the head thank you.  I re-created my App in App Console and it all started working. Thanks so much

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,951 PostsLatest Activity: 3 hours ago
352 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!