We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
mattps
8 years agoNew member | Level 2
Python 2.7 upload error
Hi, This was working up until a few weeks ago and I can't for the life of me see what is wrong - maybe a fresh set of eyes will help. I am trying to loop through the contents of a directory a...
Greg-DB
Dropbox Community Moderator
8 years agoIt looks like this is failing at a much lower level than the Dropbox SDK, so I'm afraid I can't offer too much insight. For reference, here's the documentation for the 'OpenSSL.SSL.WantWriteError' error.
Your Dropbox code looks fine though, and I just tried it and it worked for me (when putting in a valid path on my computer).
A few thoughts to try to narrow this down:
- Is there anything on the network connection, e.g., firewall, proxy, etc., that may be interfering with the Dropbox API HTTPS connection (to content.dropboxapi.com in particular, for uploads)?
- Does this happen only for specific file(s), or any files?
- Does downloading work?
- Does getting metadata work (e.g., files_list_folder or files_get_metadata)?
- Did you change/update any libraries when this broke?
- Have you tried this on another computer, and if so does this issue reproduce elsewhere?
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!