We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
jared damin
5 years agoNew member | Level 2
need help asap for my project which needs to go live --> DownloadError
Hey,
I am getting this erorr , ( file is not restricted i uploaded my self i can download other files but not new file that i upload)
Traceback (most recent call last):
File "e:\Dev\PYTHON\dropbox\extra.py", line 550, in <module>
metadata, res = client.files_download(path="/clientdownload/download.pdf")
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python39\lib\site-packages\dropbox\base.py", line 1284, in files_download
r = self.request(
File "C:\Users\Lenovo\AppData\Local\Programs\Python\Python39\lib\site-packages\dropbox\dropbox_client.py", line 348, in request
raise ApiError(res.request_id,
dropbox.exceptions.ApiError: ApiError('e2f0103c00204162886d44d97ac0c87d', DownloadError('path', LookupError('restricted_content', None)))
1 Reply
- Greg-DB5 years ago
Dropbox Community Moderator
A 'restricted_content' error from /2/files/download means:
restricted_contentVoid The file cannot be transferred because the content is restricted. For example, sometimes there are legal restrictions due to copyright claims.If the file is marked restricted like this, you will not be able to use the Dropbox API to download it.
If you believe this file is incorrectly restricted, you can open a ticket with support so they can look into it
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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, Facebook or Instagram.
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!