<?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-Issuing Invalid Tokens Problem in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Issuing-Invalid-Tokens-Problem/m-p/576882#M26906</link>
    <description>&lt;P&gt;I have a server hosting an API in asp.net (dotnetnuke DNN), where Dropbox is an integral part of the workflow within it and it works in the background. The problem exists in the ever changing tokens. I'm met with a barrage of expired_tokens when it's working as a scheduled event in the background, transferring files and validating integrity of the data. I have tried to figure out how to use Refresh Tokens, to no avail.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With this website, there is only a single Dropbox account. It acts as a storage bin. Users don't get their own access, it comes from me. However, I am hoping to find an answer so I can re-issue the tokens while doing background processes before the token expires. I have tried&lt;/P&gt;
&lt;P&gt;Dim refreshToken = dbx.RefreshAccessToken(Nothing)&lt;/P&gt;
&lt;P&gt;and I get response that it cannot be refreshed. I really want to be able to have a token that will not expire. Or a refreshToken process that returns a new token and works.&lt;/P&gt;
&lt;P&gt;It's quite frustrating to have to constantly check, as one minute of downtime is catastrophic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Feb 2022 18:01:58 GMT</pubDate>
    <dc:creator>Sunsing</dc:creator>
    <dc:date>2022-02-10T18:01:58Z</dc:date>
    <item>
      <title>Re-Issuing Invalid Tokens Problem</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Issuing-Invalid-Tokens-Problem/m-p/576882#M26906</link>
      <description>&lt;P&gt;I have a server hosting an API in asp.net (dotnetnuke DNN), where Dropbox is an integral part of the workflow within it and it works in the background. The problem exists in the ever changing tokens. I'm met with a barrage of expired_tokens when it's working as a scheduled event in the background, transferring files and validating integrity of the data. I have tried to figure out how to use Refresh Tokens, to no avail.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With this website, there is only a single Dropbox account. It acts as a storage bin. Users don't get their own access, it comes from me. However, I am hoping to find an answer so I can re-issue the tokens while doing background processes before the token expires. I have tried&lt;/P&gt;
&lt;P&gt;Dim refreshToken = dbx.RefreshAccessToken(Nothing)&lt;/P&gt;
&lt;P&gt;and I get response that it cannot be refreshed. I really want to be able to have a token that will not expire. Or a refreshToken process that returns a new token and works.&lt;/P&gt;
&lt;P&gt;It's quite frustrating to have to constantly check, as one minute of downtime is catastrophic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 18:01:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Issuing-Invalid-Tokens-Problem/m-p/576882#M26906</guid>
      <dc:creator>Sunsing</dc:creator>
      <dc:date>2022-02-10T18:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Re-Issuing Invalid Tokens Problem</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Issuing-Invalid-Tokens-Problem/m-p/576994#M26914</link>
      <description>&lt;P&gt;You can find a working example of getting and using a refresh token to maintain long-term access with the .NET SDK here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/dropbox/dropbox-sdk-dotnet/blob/main/dropbox-sdk-dotnet/Examples/OauthBasic/Program.cs" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-dotnet/blob/main/dropbox-sdk-dotnet/Examples/OauthBasic/Program.cs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That example shows how you can explicitly call RefreshAccessToken, but that's actually not required. As long as you supply the required credentials as shown there, the SDK itself will automatically perform the refresh in the background for you whenever needed.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Feb 2022 16:18:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-Issuing-Invalid-Tokens-Problem/m-p/576994#M26914</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-02-10T16:18:58Z</dc:date>
    </item>
  </channel>
</rss>

