One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
rahulj1
2 years agoExplorer | Level 4
Access Shared folder in Drop Box
I need assistance with making an API call to extract a report from a Dropbox shared folder. The objective is to retrieve the folder structure along with specific metadata such as the file count, folder size, created date, and last modified date. Could you kindly provide the precise API call required for this task?
I am trying to access the shared folder with folder ID still I am having below issue,
Error getting shared folder path: ApiError('bf8a91afbcd348859bfc2b2f4b633e7f', ListFolderError('path', LookupError('not_found', None)))
- ЗдравкоLegendary | Level 20
- rahulj1Explorer | Level 4
Hi,
I have tried to path but still I am having the same error and while in path attribute, i tried to mention has blank it is taking my root folder path
- ЗдравкоLegendary | Level 20
rahulj1, First of all make sure you're following the Dropbox path syntax (all path start with slash - except root - and slash is used as path separator, no something else). Next, make sure you're providing the correct path. If not sure, start with the root (empty path) and navigate to the nested folders (path fields there are always correct). 😉
Hope this helps.
- Greg-DB
Dropbox Staff
rahulj1 To list the contents of a folder using the Dropbox Python SDK, you would use the files_list_folder and files_list_folder_continue methods.
A "path/not_found" Dropbox API error indicates that there was nothing currently found at the specified
path
in the connected account. For example, this can happen if there's a mistake or typo in thepath
value the app supplies, if the folder has been renamed, moved, or deleted from that path, if the app is not connected to the correct account for that particular path, etc.When specifying the path, make sure you provide the full and accurate path for the desired folder under the relevant root. For example, if you have a folder named "folder", the path would be
"/folder"
. You can find more information on path formats here. I also recommend reading the File Access Guide. And as Здравко said, you can start by listing the contents of the root by starting with apath
of the empty string""
.By the way, the Dropbox API doesn't return the specific pieces of metadata you mentioned for folders themselves (as opposed to specific files), so you'd need to list the folder contents and count/sort the contents to determine those.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,942 PostsLatest Activity: 4 hours ago
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!