
I am using VS2017 CE (with all updates as at 1st Nov '18), Xamarin.Forms v3.81) and v4.5.3.1 DropBoxClient seems to want a content-type (which is fair enough) but there does not seem to have any way to actually specify that from what I can see in the DropBoxClient properties and methods available.Ĭan someone please let me know what I'm doing wrong? I have googled this extensively and searched on this forum but can't find anything relevant.

"application/octet-stream charset=utf-8". Expecting one of "text/plain", "text/plain charset=utf-8", "application/octet-stream", Header: "application/x-www-form-urlencoded". I copied it into my new Xamarin.Forms app (in the shared library) and replaced the usual Dropbox.API NuGet package with, but when I run the code I get this message:Įrror in call to API function "files/download": Bad HTTP "Content-Type" Throw new Exception("DownloadFile: DropBox client not authenticated") So, I have the following code in a static helper class which works perfectly in my standard UWP app: I just get HTTP 400 errors saying it expected a content type. I am converting a standard Windows 10 UWP app to a Xamarin.Forms app so I can get an Android version but I cannot run the same code to download files in the Xamarin version (using ) as I have in the UWP app.
