I'm trying to download a csv file from a dropbox folder by using dropbox API.
A new app, Aaa, was created. Their settings and permissions have been set up for the app.
The following code worked for an app, 'Aaa', in dropbox developer.
dbx = dropbox.Dropbox(TOKEN)
dbx_path = '/Aaa'
result = dbx.files_list_folder(dbx_path, recursive=True)
However, when I created another app, let's say 'Bbb', the above code gave an ApiError as follows.
ApiError: ApiError('c51f8163eb874279a87d2242a933b43e', ListFolderError('path', LookupError('not_found', None)))
I created even another app, let's say 'Ccc'. The same ApiError message showed up.
When I switched the TOKEN and dbx_path back to those of the app, Aaa, everything worked ok.
I've been spending all day on solving this error. What is wrong here?
Thank you for your help in advance