We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

alicera's avatar
alicera
Explorer | Level 3
4 years ago

dropbox path

How to know my path in dropbox with code?

I cant search the folder in dropbox with code .

How to define the path in dropbox?

 

res = self.dbx.files_list_folder(self.DB_ROOT_DIR, recursive=True)

.local/lib/python3.8/site-packages/dropbox/base.py", line 1952, in files_list_folder
r = self.request(
File "/home/sa/.local/lib/python3.8/site-packages/dropbox/dropbox_client.py", line 348, in request
raise ApiError(res.request_id,

dropbox.exceptions.ApiError: ApiError('740fd88ae92543a98753b6efb5af7101', ListFolderError('path', LookupError('not_found', None)))

 

I make sure I have the folder in dropbox

/test/1/1.jpg

But I cant find the folder in code.

Is it because I try the Dropbox Business?

https://qiita.com/tksnino/items/ee624221d3da00c89005

 

Does it affect the read ? 

name='test (view-only conflicts 2021-12-16)', parent_shared_folder_id=NOT_SET, path_display='/test (view-only conflicts 2021-12-16)'

2 Replies

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers814 PostsLatest Activity: 3 days ago
276 Following

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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!