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

Lakshmi Narayana's avatar
Lakshmi Narayana
Explorer | Level 3
5 years ago

Re: How to get a path to a Dropbox file in order to use the files_download function in python?

For some reason, using files_list_folder().entries.path_lower is giving me this error:

dropbox.exceptions.ApiError: ApiError('496762b8575c8f262949ace63f24a1fe', ListFolderError('path', LookupError('not_folder', None)))

 

I found that when I tried printing out file list folder, my path_lower is none, is there another way to find the path?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    A 'path/not_folder' error indicates that the path you're trying to list is not a folder. You should make sure that the 'path' value you pass to files_list_folder refers to a folder, not a file.

     

    When you get the results, if 'path_lower' is not set, that indicates that the item is not mounted. You can find more information on what this means in the Content Access Guide.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,910 PostsLatest Activity: 3 days ago
333 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!