Hi guys, im a total noob in this kind of topic. I got an error messages when i try to download an image from my dropbox with api key.
This is the code:
import dropbox
dbx = dropbox.Dropbox("orHc3wTGXpAAAAAAAAAAftTm4_Z......")
dropboxPath = "/"
filename='picked_image1981016614414776853.jpg'
dbx.files_download_to_file("Copy of "+filename, dropboxPath+filename)
And this is the error message:
sudo python3 tesdownload.py
Traceback (most recent call last):
File "tesdownload.py", line 7, in <module>
dbx.files_download_to_file("Copy of "+filename, dropboxPath+filename)
File "/usr/local/lib/python3.5/dist-packages/dropbox/base.py", line 1141, in files_download_to_file
None,
File "/usr/local/lib/python3.5/dist-packages/dropbox/dropbox.py", line 296, in request
user_message_locale)
dropbox.exceptions.ApiError: ApiError('9aef17aad8ae453cea278550b962d978', DownloadError('path', LookupError('not_found', None)))
Can anyone help me with this one pls, im a complete noob 