You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
mhnakhuda
5 years agoNew member | Level 2
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
Hi everyone, I am getting the following error:
C:\Python36\Dartfish\Scripts\python.exe C:/Workspace/COC-Dartfish/Dartfish/Dropbox_Download.py SBL
Traceback (most recent call last):
File "C:\...
- 5 years ago
That shouldn't be the issue here. The files_download_to_file method does allow you to download files from shared folders. Also, the error you're getting indicates an issue establishing the secure TLS connection with the Dropbox API servers, which occurs before the Dropbox API itself validates the call or its parameters anyway.
mhnakhuda
New member | Level 2
It should say 3.6 instead of Python 3.
mhnakhuda
5 years agoNew member | Level 2
For context here's the code I am running
dbx = dropbox.Dropbox("MY TOKEN!!") result = dbx.files_list_folder("", recursive=True) while result.has_more: result = dbx.files_list_folder_continue(result.cursor) for entry in result.entries:
- Greg-DB5 years agoDropbox Staff
I see from the stack trace that this error is occurring during files_download_to_file. I just gave that, as well as the other methods you included in the code snippet, a try with Python 3.6 and v10.2.0 of the Dropbox Python library on Windows though and it worked fine for me.
The error you're getting would seem to indicate that the Dropbox API servers aren't being served with a valid certificate, however that is not the case.
Is there anything on your network connection, e.g., a proxy, firewall, anti-virus, or other such software that may be interfering with your connection to the Dropbox API servers? For the files_download_to_file method in particular, it would be to the content.dropboxapi.com host.
- mhnakhuda5 years agoNew member | Level 2
Hi Greg,
I am doing some research on my own on the side, the folder that i want to access is a shared folder, does that make any difference? Could that be the reason why I am not able to access the file?Thanks and Regards,
- Greg-DB5 years agoDropbox Staff
That shouldn't be the issue here. The files_download_to_file method does allow you to download files from shared folders. Also, the error you're getting indicates an issue establishing the secure TLS connection with the Dropbox API servers, which occurs before the Dropbox API itself validates the call or its parameters anyway.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,883 PostsLatest Activity: 8 hours agoIf 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!