<?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 Unable to connect to dropbox using the dropbox api to give access to and account in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-connect-to-dropbox-using-the-dropbox-api-to-give/m-p/593135#M27591</link>
    <description>&lt;P&gt;I have updated and app to use the dropbox sdk version 5.2.0, before it used the 4.0.1.&lt;/P&gt;&lt;P&gt;The problem I have now is that when I do:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;DbxRequestConfig requestConfig = new DbxRequestConfig(clientIdentifier);
Auth.startOAuth2PKCE(mContext, APP_KEY, requestConfig, scopes);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The app launches the popup dialog to allow an account, but when selecting allow, the popup response with an error saying that it could not connect, I have access to the internet and before updating the sdk this popup dialog worked fine.&lt;/P&gt;&lt;P&gt;Here I attach images to show the error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error_1.jpg" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/28980i7DB1FD1AFF61A9B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="error_1.jpg" alt="error_1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error_2.jpg" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/28981i4DD7760C6B2E2000/image-size/large?v=v2&amp;amp;px=999" role="button" title="error_2.jpg" alt="error_2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 25 Apr 2022 13:26:37 GMT</pubDate>
    <dc:creator>tecnicxci</dc:creator>
    <dc:date>2022-04-25T13:26:37Z</dc:date>
    <item>
      <title>Unable to connect to dropbox using the dropbox api to give access to and account</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-connect-to-dropbox-using-the-dropbox-api-to-give/m-p/593135#M27591</link>
      <description>&lt;P&gt;I have updated and app to use the dropbox sdk version 5.2.0, before it used the 4.0.1.&lt;/P&gt;&lt;P&gt;The problem I have now is that when I do:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;DbxRequestConfig requestConfig = new DbxRequestConfig(clientIdentifier);
Auth.startOAuth2PKCE(mContext, APP_KEY, requestConfig, scopes);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The app launches the popup dialog to allow an account, but when selecting allow, the popup response with an error saying that it could not connect, I have access to the internet and before updating the sdk this popup dialog worked fine.&lt;/P&gt;&lt;P&gt;Here I attach images to show the error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error_1.jpg" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/28980i7DB1FD1AFF61A9B5/image-size/large?v=v2&amp;amp;px=999" role="button" title="error_1.jpg" alt="error_1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error_2.jpg" style="width: 800px;"&gt;&lt;img src="https://www.dropboxforum.com/t5/image/serverpage/image-id/28981i4DD7760C6B2E2000/image-size/large?v=v2&amp;amp;px=999" role="button" title="error_2.jpg" alt="error_2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 25 Apr 2022 13:26:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-connect-to-dropbox-using-the-dropbox-api-to-give/m-p/593135#M27591</guid>
      <dc:creator>tecnicxci</dc:creator>
      <dc:date>2022-04-25T13:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to dropbox using the dropbox api to give access to and account</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-connect-to-dropbox-using-the-dropbox-api-to-give/m-p/593138#M27592</link>
      <description>&lt;P&gt;The problem was with the scopes I removed this lines and all worked fine:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;List&amp;lt;String&amp;gt; scopes = new ArrayList&amp;lt;&amp;gt;();
scopes.add("account_info.read");
scopes.add("files.content.write");&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 25 Apr 2022 13:45:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-connect-to-dropbox-using-the-dropbox-api-to-give/m-p/593138#M27592</guid>
      <dc:creator>tecnicxci</dc:creator>
      <dc:date>2022-04-25T13:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to connect to dropbox using the dropbox api to give access to and account</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-connect-to-dropbox-using-the-dropbox-api-to-give/m-p/593179#M27596</link>
      <description>&lt;P&gt;Thanks for following up. I'm glad to hear you got this working already.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For reference, it sounds like you're using an app key for an app that hasn't been migrated to scopes yet. This can occur if so if you request scopes. (Apologies for the unhelpful error message!) In order to use the updated app authorization flow to request scopes, you'd need to use an app key for an app that is set to use scopes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can migrate an existing app to scopes via the app's page on &lt;A href="https://www.dropbox.com/developers/apps" rel="nofollow" target="_blank"&gt;the App Console&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 15:43:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Unable-to-connect-to-dropbox-using-the-dropbox-api-to-give/m-p/593179#M27596</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-04-25T15:43:36Z</dc:date>
    </item>
  </channel>
</rss>

