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.