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
ducthien0304
6 months agoNew member | Level 2
Download files and folders shared via API
I want to download files and folders shared on Dropbox, I analyzed the entry of the folder and file in the link but got an error, can you help me?
2024-05-28 11:01:00,538 - INFO - Entry: {
".tag": "file",
"name": "DJI_20240527093153_0017_D.DNG",
"parent_shared_folder_id": "171914555",
"id": "id:bTcip3eRPT4AAAAAAAEx-g",
"client_modified": "2024-05-27T16:21:55Z",
"server_modified": "2024-05-27T16:21:55Z",
"rev": "61971ea7693430a3f353b",
"size": 25413632,
"sharing_info": {
"read_only": true,
"parent_shared_folder_id": "171914555",
"modified_by": "dbid:AADOLM83R2mUasWyUz6Guqbr5OSFv_D7wfM"
},
"is_downloadable": true,
"content_hash": "4df04e671047b8a37517721a9822de039afb06e6b22bd7d4e743514cf465102b"
}
2024-05-28 11:01:00,538 - ERROR - file_path is invalid: None
2024-05-28 11:01:00,539 - INFO - Entry: {
".tag": "file",
"name": "DJI_20240527093153_0018_D.DNG",
"parent_shared_folder_id": "171914555",
"id": "id:bTcip3eRPT4AAAAAAAEx-w",
"client_modified": "2024-05-27T16:21:58Z",
"server_modified": "2024-05-27T16:21:59Z",
"rev": "61971eab3c4aa0a3f353b",
"size": 27834880,
"sharing_info": {
"read_only": true,
"parent_shared_folder_id": "171914555",
"modified_by": "dbid:AADOLM83R2mUasWyUz6Guqbr5OSFv_D7wfM"
},
"is_downloadable": true,
"content_hash": "312f3c7e34fc0d47b549bd0ecab3a2351ef10d686299f8151e553fcf53a8a1c0"
}
2024-05-28 11:01:00,539 - ERROR - file_path is invalid: None
- Greg-DBDropbox Staff
The "file_path is invalid: None" output does not appear to be an error from the Dropbox API itself. The rest of the output appears to be successfully retrieved file metadata information from the Dropbox API.
I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with:
- the name and version number of the platform and SDK/library you are using, if any
- the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s)
- the full text of any error or unexpected output from the Dropbox API
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,885 PostsLatest Activity: 14 hours agoIf 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!