cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted

Dropbox raising content restricted LookupError when downloading file with dropbox.files_download

New member | Level 2
New member | Level 2

 

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.

1 Accepted Solution

Accepted Solutions
Highlighted

Re: Dropbox raising content restricted LookupError when downloading file with dropbox.files_download

Dropboxer
Dropboxer
Thanks for the report. This should be working again now. Apologies for the trouble!

View solution in original post

2 Replies 2
Highlighted

Re: Dropbox raising content restricted LookupError when downloading file with dropbox.files_download

Dropboxer
Dropboxer
Thanks for the report. This should be working again now. Apologies for the trouble!

View solution in original post

Highlighted

Re: Dropbox raising content restricted LookupError when downloading file with dropbox.files_download

New member | Level 2
New member | Level 2

Thanks! Works as expected now.

Polls
Do you know how to organize your files and folders?
We have created a guide on folder best practice, so you can get organized now check it out here.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?