<?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 Refresh access token throws an exception in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Refresh-access-token-throws-an-exception/m-p/633613#M29233</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;i implemented the DropBox Java SDK 5.4.4 and authorized the client via PKCE Authentication. Credentials are stored in a file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As documented, the access token is a short living token and the refresh token is the same with every new authentication.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But when client tries to refresh the token (local Spring Boot application was started some hours after authentication) the client throws a DbxOAuthException with DbxOAuthError "unknown".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The app in the app console is&amp;nbsp; in development mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Nov 2022 09:53:34 GMT</pubDate>
    <dc:creator>BLV2k22</dc:creator>
    <dc:date>2022-11-03T09:53:34Z</dc:date>
    <item>
      <title>Refresh access token throws an exception</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Refresh-access-token-throws-an-exception/m-p/633613#M29233</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;i implemented the DropBox Java SDK 5.4.4 and authorized the client via PKCE Authentication. Credentials are stored in a file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As documented, the access token is a short living token and the refresh token is the same with every new authentication.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But when client tries to refresh the token (local Spring Boot application was started some hours after authentication) the client throws a DbxOAuthException with DbxOAuthError "unknown".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The app in the app console is&amp;nbsp; in development mode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 09:53:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Refresh-access-token-throws-an-exception/m-p/633613#M29233</guid>
      <dc:creator>BLV2k22</dc:creator>
      <dc:date>2022-11-03T09:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh access token throws an exception</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Refresh-access-token-throws-an-exception/m-p/633618#M29234</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it seems i solved the issue. It was a typo in the app secret &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@EA4D5AD6084EAC95CB4E739348E74CC6/emoticons/1f615.png" alt=":confused_face:" title=":confused_face:" /&gt; Now when i call the refresh method in credentials i am getting a new short living access token,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 15:06:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Refresh-access-token-throws-an-exception/m-p/633618#M29234</guid>
      <dc:creator>BLV2k22</dc:creator>
      <dc:date>2022-11-02T15:06:24Z</dc:date>
    </item>
  </channel>
</rss>

