Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
nguyenthanhliem
7 years agoNew member | Level 2
Error in call to API function "files/download"
I use DropBox API to implement Dropbox in Xamarin.Forms (NET Standard). I upload a file success, but when I download I get this error Dropbox.Api.BadInputException: Error in call to API function "fi...
- 6 years ago
this answer solved my problem.
https://github.com/dropbox/dropbox-sdk-dotnet/issues/77#issuecomment-487972169
Thanks!
In addition, I think the problem originates from Xamarin using the "AndroidClientHandler" as HttpMessageHandler. So using the current lib version, a workaround would be explicitly setting the (less efficient) HttpClientHandler
dbx = new DropboxClient(accessToken, new DropboxClientConfig() { HttpClient = new HttpClient(new HttpClientHandler()) });
Greg-DB
Dropbox Community Moderator
7 years agonguyenthanhliem The Dropbox .NET SDK isn't officially supported on Xamarin, but there was another thread where a developer ran into this issue and was reportedly able to resolve it here:
- nguyenthanhliem7 years agoNew member | Level 2
I have look in your link and I think they still not found solution for this!
- Greg-DB7 years ago
Dropbox Community Moderator
nguyenthanhliem I was referring to this comment in particular:
Anoop_Brijmohun wrote:
Found the solution here
https://docs.microsoft.com/en-us/xamarin/android/app-fundamentals/http-stack?tabs=windows
I'm afraid I can't offer more information though, as the Dropbox .NET SDK isn't officially supported on Xamarin. Apologies I can't be of more help in that regard!
- mostafa906 years agoNew member | Level 2
this answer solved my problem.
https://github.com/dropbox/dropbox-sdk-dotnet/issues/77#issuecomment-487972169
Thanks!
In addition, I think the problem originates from Xamarin using the "AndroidClientHandler" as HttpMessageHandler. So using the current lib version, a workaround would be explicitly setting the (less efficient) HttpClientHandler
dbx = new DropboxClient(accessToken, new DropboxClientConfig() { HttpClient = new HttpClient(new HttpClientHandler()) });
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!