<?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 access token expired in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/425331#M22717</link>
    <description>&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/762004"&gt;@winkelement&lt;/a&gt;&lt;BR /&gt;You are right. I tried through another new account and it generates short-lived tokens although Dropbox API Explorer has never been used.</description>
    <pubDate>Sat, 30 May 2020 18:08:46 GMT</pubDate>
    <dc:creator>ahmed-sharaf</dc:creator>
    <dc:date>2020-05-30T18:08:46Z</dc:date>
    <item>
      <title>API access token expired</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/363473#M20653</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;i am using some of the http api endpoints to upload or download files. As i saw in the documentation the API access tokens never expire but can only be revoked. For some reason after i use my token for a day or so i get the message "expired_access_token". Then i need to create a new one. Of course i never revoked it manually or from the api.&lt;/P&gt;
&lt;P&gt;I have another account where there i don't have any issue. My token is still working after many months. I followed the same process to create both of them but still they are different. The token for my old account is 64 characters long but the new one is 139 and always starts with "sl.".&lt;/P&gt;
&lt;P&gt;Am i doing something wrong? Did anything change on how Dropbox is producing access tokens? Thanks in advance for any help.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 09:02:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/363473#M20653</guid>
      <dc:creator>Emron</dc:creator>
      <dc:date>2019-09-05T09:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: API access token expired</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/363529#M20655</link>
      <description>&lt;P&gt;Based on your description, it sounds like you're getting&amp;nbsp;the access token from &lt;A href="https://dropbox.github.io/dropbox-api-v2-explorer/" target="_self"&gt;the "API v2 Explorer"&lt;/A&gt;. That tool is just meant for prototyping&amp;nbsp;Dropbox API calls, and currently has early access to an upcoming "short-lived access token" feature. That means that, unlike standard&amp;nbsp;Dropbox API access tokens, the access tokens you get from the API Explorer will expire by themselves. (You can identify them by the "sl." prefix you mentioned.)&lt;/P&gt;
&lt;P&gt;To get standard&amp;nbsp;Dropbox API access tokens, you should use your own API app registration. For instance, you can use the "Generate" button on your app's page on &lt;A href="https://www.dropbox.com/developers/apps" target="_self"&gt;the App Console&lt;/A&gt;, or use &lt;A href="https://www.dropbox.com/developers/reference/oauth-guide" target="_self"&gt;the OAuth app authorization flow&lt;/A&gt; with your app.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 14:29:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/363529#M20655</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-09-05T14:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: API access token expired</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/363537#M20656</link>
      <description>&lt;P&gt;Thank you very much for taking the time to answer. I tested like an hour ago to create my app and generate token for my app and its working as expected. The token generated is shorter and does not have the prefix "sl". Its the same format as the token i created in the past through the API Explorer. It was my fault to use the token from the API explorer for my requests. Anyway, thanks again for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 14:45:28 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/363537#M20656</guid>
      <dc:creator>Emron</dc:creator>
      <dc:date>2019-09-05T14:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: API access token expired</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/425304#M22714</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I am facing the same problem which has been resulted from generating access token from "Dropbox API Explorer". The access token become longer and starting with "sl.***".&lt;BR /&gt;&lt;BR /&gt;I have unlinked the Dropbox API Explorer from the connected apps and tried to generate from App Console but it is still generating the longer tokens and shows me that the token is short-lived one and will expire 4 hours after generation.&lt;BR /&gt;&lt;BR /&gt;I am not sure where the fault I did else. Could you please help?</description>
      <pubDate>Sat, 30 May 2020 17:08:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/425304#M22714</guid>
      <dc:creator>ahmed-sharaf</dc:creator>
      <dc:date>2020-05-30T17:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: API access token expired</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/425321#M22715</link>
      <description>&lt;P&gt;I'm having the same problem.&lt;/P&gt;&lt;P&gt;I never used the "Dropbox API Explorer" but every Token i generate via App Console expires after 4 hours.&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2020 17:46:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/425321#M22715</guid>
      <dc:creator>winkelement</dc:creator>
      <dc:date>2020-05-30T17:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: API access token expired</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/425331#M22717</link>
      <description>&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/762004"&gt;@winkelement&lt;/a&gt;&lt;BR /&gt;You are right. I tried through another new account and it generates short-lived tokens although Dropbox API Explorer has never been used.</description>
      <pubDate>Sat, 30 May 2020 18:08:46 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/425331#M22717</guid>
      <dc:creator>ahmed-sharaf</dc:creator>
      <dc:date>2020-05-30T18:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: API access token expired</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/425359#M22719</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1309181"&gt;@ahmed-sharaf&lt;/a&gt;&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/762004"&gt;@winkelement&lt;/a&gt;&amp;nbsp;Apologies for the confusion! Please refer to &lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Tokens-only-valid-for-4-hours-from-app-console/m-p/425358/highlight/true#M22718" target="_self"&gt;my post here&lt;/A&gt; for information.&lt;/P&gt;</description>
      <pubDate>Sat, 30 May 2020 18:30:07 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/425359#M22719</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2020-05-30T18:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: API access token expired</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/691524#M30988</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 22:02:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/691524#M30988</guid>
      <dc:creator>edou123</dc:creator>
      <dc:date>2023-06-13T22:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: API access token expired</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/750867#M32943</link>
      <description>&lt;P&gt;I have the same problem and I did use the Generate button in the app console.&amp;nbsp; Mine also starts with "sl."&amp;nbsp; I know this is an older question but hopefully someone is monitoring this.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 14:56:08 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/750867#M32943</guid>
      <dc:creator>SerenityNow</dc:creator>
      <dc:date>2024-02-13T14:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: API access token expired</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/750895#M32946</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1804275"&gt;@SerenityNow&lt;/a&gt; Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is now 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. Refresh tokens do not expire automatically and can be used repeatedly. 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;. There's a basic outline of processing this flow in &lt;A href="https://dropbox.tech/developers/using-oauth-2-0-with-offline-access" target="_blank" rel="noopener noreferrer"&gt;this blog post&lt;/A&gt; which may serve as a useful example.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 16:16:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/750895#M32946</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-02-13T16:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: API access token expired</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/750913#M32948</link>
      <description>&lt;P&gt;Same proplem with Generate access token via&amp;nbsp; AppConsole&lt;/P&gt;&lt;P&gt;&lt;A href="https://dropbox.tech/developers/generate-an-access-token-for-your-own-account" target="_blank"&gt;https://dropbox.tech/developers/generate-an-access-token-for-your-own-account&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 17:06:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/750913#M32948</guid>
      <dc:creator>AlexStudio</dc:creator>
      <dc:date>2024-02-13T17:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: API access token expired</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/750920#M32949</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1804326"&gt;@AlexStudio&lt;/a&gt; Yes, the "Generate" button now also produces short-lived access tokens. If you need a refresh token, use the OAuth app authorization flow. Check out the links in my previous message for information on that.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Feb 2024 17:40:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-access-token-expired/m-p/750920#M32949</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2024-02-13T17:40:22Z</dc:date>
    </item>
  </channel>
</rss>

