<?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 Access token expired in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-expired/m-p/607152#M28137</link>
    <description>&lt;DIV class=""&gt;
&lt;DIV class=""&gt;i am going to buy plan once i am done with testing dropbox api&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;My concern is that.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;I am super admin, and i am uploading a file every day for my students.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;Student can access file with our mobile app&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;I did all R&amp;amp;D and development but i am stuck one place only&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;Getting this error "Client error: `POST &lt;A href="https://api.dropboxapi.com/2/files/list_folder" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/files/list_folder&lt;/A&gt;` resulted in a `401 Unauthorized` response: {"error_summary": "expired_access_token/..", "error": {".tag": "expired_access_token"}}"&lt;/DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;How to keep alive access_token forever?&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 05 Jul 2022 18:10:34 GMT</pubDate>
    <dc:creator>ketanapatel</dc:creator>
    <dc:date>2022-07-05T18:10:34Z</dc:date>
    <item>
      <title>Access token expired</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-expired/m-p/607152#M28137</link>
      <description>&lt;DIV class=""&gt;
&lt;DIV class=""&gt;i am going to buy plan once i am done with testing dropbox api&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;My concern is that.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;I am super admin, and i am uploading a file every day for my students.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;Student can access file with our mobile app&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;I did all R&amp;amp;D and development but i am stuck one place only&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;Getting this error "Client error: `POST &lt;A href="https://api.dropboxapi.com/2/files/list_folder" target="_blank" rel="noopener"&gt;https://api.dropboxapi.com/2/files/list_folder&lt;/A&gt;` resulted in a `401 Unauthorized` response: {"error_summary": "expired_access_token/..", "error": {".tag": "expired_access_token"}}"&lt;/DIV&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;How to keep alive access_token forever?&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 05 Jul 2022 18:10:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-expired/m-p/607152#M28137</guid>
      <dc:creator>ketanapatel</dc:creator>
      <dc:date>2022-07-05T18:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Access token expired</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-expired/m-p/607161#M28138</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1554067"&gt;@ketanapatel&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;...&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;How to keep alive access_token forever?&lt;/DIV&gt;&lt;/DIV&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1554067"&gt;@ketanapatel&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Long lived access token is outdated and deprecated in Dropbox API. Generation of new long lived access token is already dropped, despite of an existing can still be used. So, if you have some already generated token, you can keep it "forever" (may be not exactly, but...). For generation of new long lived access token - forget it.&lt;/P&gt;&lt;P&gt;For long term access without additional user interaction (like was for long lived access token), refresh token can be used to keep access token validity. You can get idea, about refresh token, taking a look &lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-in-generating-access-token/td-p/592667" target="_blank" rel="noopener"&gt;here&lt;/A&gt;. &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@41457EF40051AFF130FDBFE21B496926/emoticons/1f609.png" alt=":winking_face:" title=":winking_face:" /&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Jul 2022 12:24:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-expired/m-p/607161#M28138</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-07-03T12:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Access token expired</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-expired/m-p/607373#M28144</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1554067"&gt;@ketanapatel&lt;/a&gt;&amp;nbsp;Здравко is correct, Dropbox is in the process of switching to only issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. You can find &lt;A href="https://dropbox.tech/developers/migrating-app-permissions-and-access-tokens#updating-access-token-type" target="_blank" rel="noopener noreferrer"&gt;more information on this migration here&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Apps can still get long-term access by requesting "offline" access though, in which case the app receives a "refresh token" that can be used to retrieve new short-lived access tokens as needed, without further manual user intervention. You can find more information in the &lt;A href="https://developers.dropbox.com/oauth-guide" target="_blank" rel="noopener noreferrer"&gt;OAuth Guide&lt;/A&gt; and &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#authorization" target="_blank" rel="noopener noreferrer"&gt;authorization documentation&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;For reference, while the creation of new long-lived access tokens is now deprecated, we don't currently have a plan to disable existing long-lived access tokens. (If that changes, we will of course announce that ahead of time.) That being the case, you can continue using existing long-lived access token(s) without interruption, if you have any.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 14:59:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-expired/m-p/607373#M28144</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-07-04T14:59:21Z</dc:date>
    </item>
  </channel>
</rss>

