One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
kwthelinuxguy
7 years agoNew member | Level 2
Dropbox raising content restricted LookupError when downloading file with dropbox.files_download
I made a small script to download various pre-existing blocks of data uploaded by another script.
def fetch(id):
file = "".join(["/data-", str(id),".bin"]) md, f = dbx.files_download(file) data = f.content return data
The code almost perfectly follows the example provided with the API, however when ran it throws this error:
dropbox.exceptions.ApiError: ApiError('8c03cf1b5fb662a78c77d32c8d0ade29', DownloadError('path', LookupError('restricted_content', None)))
It works neither on my laptop nor my docker container.
Any help or pointers would be appreciated.
- Thanks for the report. This should be working again now. Apologies for the trouble!
- Greg-DB
Dropbox Staff
Thanks for the report. This should be working again now. Apologies for the trouble!- kwthelinuxguyNew member | Level 2
Thanks! Works as expected now.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,945 PostsLatest Activity: 2 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!