Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Dropbox Community is looking for feedback from you! Sign up to be a part of our customer panel here.

Discuss Dropbox Developer & API

Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply and help



New member | Level 2

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


1 Reply 1

Re: ApiError

Dropbox Staff

What kind of access do each of the apps have? For instance, it sounds like apps "Bbb" and "Ccc" may be registered for the "app folder" access type, so they'd only have access to the contents of the special app folder that gets created for them when connected to an account, not anything else already in the account.


When you use an access token for an app folder app and try to access a particular path, that path will be interpreted relative to the app folder for that app. For example, if you send "/Some Folder" it would be interpreted as "/Apps/<APP FOLDER NAME>/Some Folder".


So, if you used an access token for an app folder app to try to access a folder in the actual root of the account, for instance, it would fail like this because it would only see the contents of the app folder.

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?
Need more support?