<?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 Re: API V2 Issue with C# : DropBoxClient.Users.GetCurrentAccountAsync doesn't return in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Issue-with-C-DropBoxClient-Users-GetCurrentAccountAsync/m-p/245471#M13921</link>
    <description>&lt;P&gt;Found the problem ! My assembly was working fine in a small c# project but the issue comes from a security callback added to&amp;nbsp;ServicePointManager.ServerCertificateValidationCallback in the other project (to check server side certificate).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Problem fixed !&lt;/P&gt;</description>
    <pubDate>Thu, 05 Oct 2017 19:57:02 GMT</pubDate>
    <dc:creator>Seb44</dc:creator>
    <dc:date>2017-10-05T19:57:02Z</dc:date>
    <item>
      <title>API V2 Issue with C# : DropBoxClient.Users.GetCurrentAccountAsync doesn't return</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Issue-with-C-DropBoxClient-Users-GetCurrentAccountAsync/m-p/245105#M13875</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I recently migrate from API v1 to API v2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I use the Dropbox nugget for C#.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Everything was working fine in september (with this new API v2 code) but since today (or the 1st of october) my new code doesn't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the code :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;using (dbx = new DropboxClient(Token))
{
var full = await dbx.Users.GetCurrentAccountAsync();
string DropBoxName=System.IO.Path.GetFileName(Filename);
await Upload(Filename, "/" + DropBoxName);
}&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In fact&amp;nbsp;&lt;SPAN&gt;dbx.Users.GetCurrentAccountAsync(); doesn't return, without any message/error/timeout/exception... Any idea ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 17:09:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Issue-with-C-DropBoxClient-Users-GetCurrentAccountAsync/m-p/245105#M13875</guid>
      <dc:creator>Seb44</dc:creator>
      <dc:date>2020-05-29T17:09:54Z</dc:date>
    </item>
    <item>
      <title>Re: API V2 Issue with C# : DropBoxClient.Users.GetCurrentAccountAsync doesn't return</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Issue-with-C-DropBoxClient-Users-GetCurrentAccountAsync/m-p/245173#M13887</link>
      <description>&lt;P&gt;Nothing appears wrong with your call to&amp;nbsp;GetCurrentAccountAsync, and if anything goes wrong you should certainly get some sort of error. I just tried it anyway and it worked for me (except that&amp;nbsp;I don't have your Upload definition).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You don't appear to be using the return value `full` in this code though, and you also included calls to `GetFileName` and `Upload`. How are you checking that it's hanging on `GetCurrentAccountAsync` in particular and not one of the others?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2017 16:28:30 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Issue-with-C-DropBoxClient-Users-GetCurrentAccountAsync/m-p/245173#M13887</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-10-04T16:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: API V2 Issue with C# : DropBoxClient.Users.GetCurrentAccountAsync doesn't return</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Issue-with-C-DropBoxClient-Users-GetCurrentAccountAsync/m-p/245471#M13921</link>
      <description>&lt;P&gt;Found the problem ! My assembly was working fine in a small c# project but the issue comes from a security callback added to&amp;nbsp;ServicePointManager.ServerCertificateValidationCallback in the other project (to check server side certificate).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Problem fixed !&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2017 19:57:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-V2-Issue-with-C-DropBoxClient-Users-GetCurrentAccountAsync/m-p/245471#M13921</guid>
      <dc:creator>Seb44</dc:creator>
      <dc:date>2017-10-05T19:57:02Z</dc:date>
    </item>
  </channel>
</rss>

