Hi!
I'm trying to retrieve all the folders inside my Dropbox account. In the first approach I'm just able to retrieve the info from something like my "home folder" but there is other folders that I created as the admin that are not being showed calling 'files_list_folder()' function.
I'm instantiating my DB account as
dbx = dropbox.Dropbox(oauth2_refresh_token=REFRESH_TOKEN, app_key=APP_KEY)
I tried to use DropboxTeam like that:
dbx = dropbox.DropboxTeam(oauth2_refresh_token=REFRESH_TOKEN, app_key=APP_KEY).as_admin(ADMIN_ID)
dbx.files_list_folder("")
But I'm getting this error: 'dropbox.exceptions.BadInputError: BadInputError('a5c6fcd46470407982efeb801ea9c3ac', 'Error in call to API function "files/list_folder": Unexpected select user header. Your app does not have permission to use this feature')'
Any solutions to this?