<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic System.MissingFieldException using Dropbox.Api 4.3.1 on Xamarin.iOS in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/System-MissingFieldException-using-Dropbox-Api-4-3-1-on-Xamarin/m-p/241143#M13428</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm attempting a test file upload using...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;using (var client = new DropboxClient("MY_GENERATED_ACCESS_TOKEN"))
using (var stream = new MemoryStream(Encoding.UTF8.GetBytes("some text")))
{
    var updated = await client.Files.UploadAsync(
        path: $"/Backup-{DateTime.Now.ToString("yyyy-MM-dd-HH.mm.ss.fff")}.json",
        mode: WriteMode.Overwrite.Instance,
        autorename: false,
        clientModified: null,
        mute: false,
        body: stream);
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, I'm getting a&amp;nbsp;System.MissingFieldException...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;System.MissingFieldException: Field 'Dropbox.Api.DropboxRequestHandler/&amp;lt;Dropbox.Api.Stone.ITransport.SendUploadRequestAsync&amp;gt;d__d`3&amp;lt;TRequest_REF, TResponse_REF, TError_REF&amp;gt;.&amp;lt;&amp;gt;4__this' not found.
  at Dropbox.Api.Files.Routes.FilesUserRoutes.UploadAsync (Dropbox.Api.Files.CommitInfo commitInfo, System.IO.Stream body) [0x00006] in &amp;lt;4ef505fca4004e3fa64095111cf70e73&amp;gt;:0 
  at Dropbox.Api.Files.Routes.FilesUserRoutes.UploadAsync (System.String path, Dropbox.Api.Files.WriteMode mode, System.Boolean autorename, System.Nullable`1[T] clientModified, System.Boolean mute, System.IO.Stream body) [0x0000d] in &amp;lt;4ef505fca4004e3fa64095111cf70e73&amp;gt;:0 
  at yomomma.Services.DataService+&amp;lt;BackupAsync&amp;gt;d__3.MoveNext () [0x0005a] in /Users/yomomma/Dropbox/dev/yomomma/yomomma.Shared/Services/DataService.cs:111 &lt;/PRE&gt;&lt;P&gt;I'm using a "Generated Access Token"&amp;nbsp;that I've created on my developer portal. Any ideas as to what is going on here? It's not a helpful error message at all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:19:23 GMT</pubDate>
    <dc:creator>robertmiles3</dc:creator>
    <dc:date>2019-05-29T09:19:23Z</dc:date>
    <item>
      <title>System.MissingFieldException using Dropbox.Api 4.3.1 on Xamarin.iOS</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/System-MissingFieldException-using-Dropbox-Api-4-3-1-on-Xamarin/m-p/241143#M13428</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm attempting a test file upload using...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;using (var client = new DropboxClient("MY_GENERATED_ACCESS_TOKEN"))
using (var stream = new MemoryStream(Encoding.UTF8.GetBytes("some text")))
{
    var updated = await client.Files.UploadAsync(
        path: $"/Backup-{DateTime.Now.ToString("yyyy-MM-dd-HH.mm.ss.fff")}.json",
        mode: WriteMode.Overwrite.Instance,
        autorename: false,
        clientModified: null,
        mute: false,
        body: stream);
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, I'm getting a&amp;nbsp;System.MissingFieldException...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;System.MissingFieldException: Field 'Dropbox.Api.DropboxRequestHandler/&amp;lt;Dropbox.Api.Stone.ITransport.SendUploadRequestAsync&amp;gt;d__d`3&amp;lt;TRequest_REF, TResponse_REF, TError_REF&amp;gt;.&amp;lt;&amp;gt;4__this' not found.
  at Dropbox.Api.Files.Routes.FilesUserRoutes.UploadAsync (Dropbox.Api.Files.CommitInfo commitInfo, System.IO.Stream body) [0x00006] in &amp;lt;4ef505fca4004e3fa64095111cf70e73&amp;gt;:0 
  at Dropbox.Api.Files.Routes.FilesUserRoutes.UploadAsync (System.String path, Dropbox.Api.Files.WriteMode mode, System.Boolean autorename, System.Nullable`1[T] clientModified, System.Boolean mute, System.IO.Stream body) [0x0000d] in &amp;lt;4ef505fca4004e3fa64095111cf70e73&amp;gt;:0 
  at yomomma.Services.DataService+&amp;lt;BackupAsync&amp;gt;d__3.MoveNext () [0x0005a] in /Users/yomomma/Dropbox/dev/yomomma/yomomma.Shared/Services/DataService.cs:111 &lt;/PRE&gt;&lt;P&gt;I'm using a "Generated Access Token"&amp;nbsp;that I've created on my developer portal. Any ideas as to what is going on here? It's not a helpful error message at all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:19:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/System-MissingFieldException-using-Dropbox-Api-4-3-1-on-Xamarin/m-p/241143#M13428</guid>
      <dc:creator>robertmiles3</dc:creator>
      <dc:date>2019-05-29T09:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: System.MissingFieldException using Dropbox.Api 4.3.1 on Xamarin.iOS</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/System-MissingFieldException-using-Dropbox-Api-4-3-1-on-Xamarin/m-p/241260#M13434</link>
      <description>&lt;P&gt;Did you install the &lt;A href="https://www.nuget.org/packages/Dropbox.Api/" target="_self"&gt;Dropbox.Api&lt;/A&gt;&amp;nbsp;package? That's not built for Xamarin, but there is a third party version meant for Xamarin: &lt;A href="https://www.nuget.org/packages/Xamarin.Dropbox.Api/" target="_self"&gt;Xamarin.Dropbox.Api&lt;/A&gt;. That's made by a third party, so we can't officially support or endorse it, but it may work for you.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 15:48:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/System-MissingFieldException-using-Dropbox-Api-4-3-1-on-Xamarin/m-p/241260#M13434</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-09-12T15:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: System.MissingFieldException using Dropbox.Api 4.3.1 on Xamarin.iOS</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/System-MissingFieldException-using-Dropbox-Api-4-3-1-on-Xamarin/m-p/241261#M13435</link>
      <description>&lt;P&gt;Tried both, same error on both.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 15:49:16 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/System-MissingFieldException-using-Dropbox-Api-4-3-1-on-Xamarin/m-p/241261#M13435</guid>
      <dc:creator>robertmiles3</dc:creator>
      <dc:date>2017-09-12T15:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: System.MissingFieldException using Dropbox.Api 4.3.1 on Xamarin.iOS</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/System-MissingFieldException-using-Dropbox-Api-4-3-1-on-Xamarin/m-p/241263#M13436</link>
      <description>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.</description>
      <pubDate>Tue, 12 Sep 2017 15:54:59 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/System-MissingFieldException-using-Dropbox-Api-4-3-1-on-Xamarin/m-p/241263#M13436</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-09-12T15:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: System.MissingFieldException using Dropbox.Api 4.3.1 on Xamarin.iOS</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/System-MissingFieldException-using-Dropbox-Api-4-3-1-on-Xamarin/m-p/241275#M13437</link>
      <description>I 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.</description>
      <pubDate>Tue, 12 Sep 2017 16:47:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/System-MissingFieldException-using-Dropbox-Api-4-3-1-on-Xamarin/m-p/241275#M13437</guid>
      <dc:creator>robertmiles3</dc:creator>
      <dc:date>2017-09-12T16:47:19Z</dc:date>
    </item>
  </channel>
</rss>

