We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Mark R.5
9 years agoHelpful | Level 5
Dropbox API V2 .NET SDK TaskCancelledException
This is running the .NET SDK within a Xamarin wrapper, on Android Lollipop (the code should be identical to the standard .NET SDK). I have only seen this error on one specific device and even then it...
Greg-DB
Dropbox Community Moderator
9 years agoThe SDK is actually generated based on the API spec, so each method isn't implemented individually. For example, here's the implementation for any "download-style" request (such as DownloadAsync, or GetThumbnailAsync).
Mark R.5
9 years agoHelpful | Level 5
Ok, maybe I should read up on that a bit more. The abstraction just makes it a little harder to work out what is going on. Maybe the generated code could be put into github as well.
To get back to the original issue, one thing I observed is that some methods would work and others would not. For example, I have a ListFolderLongpollAsync method running in a loop to listen for changes. This method was working and returning when changes occurred. However as soon as it then went on to do a ListFolderContinueAsync to get the actual changes the timeout was occurring. This loop was then repeated consistently, with the ListFolderLongpollAsync working, but the ListFolderContinueAsync failing.
I will try and investigate further to see if I can find a trigger.
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!