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
JohnPT
2 years agoExplorer | Level 3
Failed to establish a new connection: [WinError 10060] A connection attempt failed because the conne
Hi. kind of stuck.. getting this error - worked two days ago. thanks for any ideas.
Failed to establish a new connection: [WinError 10060] A connection attempt failed because the connected p...
JohnPT
Explorer | Level 3
It fails on the final line the upload request. > print(dbx.files_upload(f.read(),filetouploadname, mode=dropbox.files.WriteMode("overwrite")))
I get a dbx object that looks fine in vscode.
I will try this. working to get trace and try on another machine. i am testing on windows 10 machine for test and prod.
Thank you for your help.
Здравко
2 years agoLegendary | Level 20
JohnPT wrote:...
It fails on the final line the upload request. > print(dbx.files_upload(f.read(),filetouploadname, mode=dropbox.files.WriteMode("overwrite")))
I get a dbx object that looks fine in vscode.
...
Just to add some clarification. Yes, for sure the code, you posted, is the only place where things can get wrong. It's the only place, in your code, where API calls get performed. The 'dbx' object itself can look fine after construction. Construction doesn't perform too much checks! You can construct Dropbox client object with completely wrong parameters and it will looks "fine". It wont look the same when you're going to execute some of its method though (where the actual mistakes get up). 😉
- JohnPT2 years agoExplorer | Level 3
ok cool. thank you for the details.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 3 days 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!