Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

niktrychill's avatar
niktrychill
New member | Level 2
8 years ago

requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed c

 

i am uploading csv data to cloud here is the code.

with open(filename, 'rb') as f:
        data = f.read()
    try:
        dbx.files_upload(data, '/' + filename, dropbox.files.WriteMode.overwrite)
        return 1
    except:
        traceback.print_exc()
        return 0

i got this error.

requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))

i am using python 3.5 and dropbox 9.0.0 in local linux os.

 

1 Reply

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    8 years ago
    Nothing looks clearly wrong in your code. I also just tried this and can't reproduce the issue.

    Are you still seeing this? If so, is there anything on your network connection, e.g., firewall, proxy, etc. that may be interfering?

About Dropbox API Support & Feedback

Node avatar for 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!