We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Continuous I.
11 years agoNew member | Level 1
CSharp SDK dbx.Files.UploadAsync doesn't work
Hi,
I've installed the CSharp DropBox SDK in a Console App (in part of my CI toolchain, although created in Visual Studio 2013 it is sitting in a Xamarin solution that is built using Jenkins on Mac...
Steve M.
Dropbox Staff
11 years agoI suspect that the error is that your path doesn't start with a slash. In API v2, paths should either be empty, meaning the root of the user's Dropbox, or they should start with a slash. So try using "/test" as the value of folder.
As to why you don't see the exception, my C# async/await knowledge is somewhat limited. Is the containing method marked async? I think from just this snippet of code, it may not be possible to tell if the exception should get caught here or not.
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!