Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
robertmiles3
9 years agoHelpful | Level 5
System.MissingFieldException using Dropbox.Api 4.3.1 on Xamarin.iOS
I'm attempting a test file upload using... using (var client = new DropboxClient("MY_GENERATED_ACCESS_TOKEN"))
using (var stream = new MemoryStream(Encoding.UTF8.GetBytes("some text")))
{
...
- 9 years agoI actually just got it working. I had to add the "Microsoft.Bcl.Async" package as well. I noticed some errors in the console saying that "Microsoft.Threading.Tasks" wasn't found. After I added this package, all is well.
Greg-DB
Dropbox Community Moderator
9 years agoDid you install the Dropbox.Api package? That's not built for Xamarin, but there is a third party version meant for Xamarin: Xamarin.Dropbox.Api. That's made by a third party, so we can't officially support or endorse it, but it may work for you.
robertmiles3
9 years agoHelpful | Level 5
Tried both, same error on both.
- Greg-DB9 years ago
Dropbox Community Moderator
Thanks for confirming that. I just tried this code using v4.3.1 of the SDK in Visual Studio (not Xamarin), and it worked there. That being the case it seems the issue is specific to Xamarin, so I'm afraid I can't offer a solution. I'll send this along as a request for official support for the SDK on Xamarin.- robertmiles39 years agoHelpful | Level 5I actually just got it working. I had to add the "Microsoft.Bcl.Async" package as well. I noticed some errors in the console saying that "Microsoft.Threading.Tasks" wasn't found. After I added this package, all is well.
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!