You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

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

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