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
Anoop_Brijmohun
7 years agoHelpful | Level 6
Content-Type setting for downloading using dropbox api v2
Good-day, im busy trying to write a simple app to download files from dropbox. im a newbie to mobile dev and asistance would be appricated. im am receiving this error when downloading. Dropbo...
- 7 years ago
Found the solution here
https://docs.microsoft.com/en-us/xamarin/android/app-fundamentals/http-stack?tabs=windows
DBX_Robert
Dropbox Staff
That is the line of code I would expect to be throwing the error based on the information you've shared.
Your issue appears to be very similar to https://www.dropboxforum.com/t5/API-Support-Feedback/Xamarin-DropBox-APi-HTTP-400-Bad-request-on-DownloadAsync/m-p/302892.
Given that the code sample works in a standard .NET project, but does not in a Xamarin project, Xamarin is likely adding additional logic that is modifying the Content-Type header in this use case. There is little we can do to help in this situation as we do not provide support for Xamarin issues with the official Dropbox .NET SDK. One place to possibly find additional help could be the Xamarin forums.
Anoop_Brijmohun
7 years agoHelpful | Level 6
thanks for the support
will follow up with Xamarin
thanks again
- Anoop_Brijmohun7 years agoHelpful | Level 6
Found the solution here
https://docs.microsoft.com/en-us/xamarin/android/app-fundamentals/http-stack?tabs=windows
- redth7 years agoNew member | Level 2
Please post any issues with the Xamarin binding here: https://github.com/xamarin/xamarincomponents
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 4 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!