<?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: Expired Access Token in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Expired-Access-Token/m-p/599680#M27853</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do i need to create tokens every time after it get expired? We are using it for display images and files in our application. Each time should we create new tokens?&lt;/P&gt;</description>
    <pubDate>Thu, 26 May 2022 12:22:02 GMT</pubDate>
    <dc:creator>sunilgeechoo</dc:creator>
    <dc:date>2022-05-26T12:22:02Z</dc:date>
    <item>
      <title>Expired Access Token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Expired-Access-Token/m-p/599621#M27850</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are creating app and generating token by clicking on &lt;STRONG&gt;Generate &lt;/STRONG&gt;button, it is always getting expired and we need to generate new one. we are creating app in app console (&lt;A href="https://www.dropbox.com/developers/apps" target="_blank" rel="noopener"&gt;https://www.dropbox.com/developers/apps&lt;/A&gt;) and generated tokens &lt;SPAN&gt;always starts with "sl."&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 08:18:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Expired-Access-Token/m-p/599621#M27850</guid>
      <dc:creator>sunilgeechoo</dc:creator>
      <dc:date>2022-05-26T08:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Expired Access Token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Expired-Access-Token/m-p/599644#M27851</link>
      <description>&lt;P&gt;Hi &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1543974"&gt;@sunilgeechoo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Using long lived access token is deprecated and creation of new is already dropped. That's why you're getting short lived token only. Alternative for long term access is refresh token. You have to adapt your application to use such token type. For possible way of refresh token creation, take a look on &lt;A href="https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-in-generating-access-token/td-p/592667" target="_blank"&gt;https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-in-generating-access-token/td-p/592667&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 09:15:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Expired-Access-Token/m-p/599644#M27851</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-05-26T09:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Expired Access Token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Expired-Access-Token/m-p/599680#M27853</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do i need to create tokens every time after it get expired? We are using it for display images and files in our application. Each time should we create new tokens?&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 12:22:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Expired-Access-Token/m-p/599680#M27853</guid>
      <dc:creator>sunilgeechoo</dc:creator>
      <dc:date>2022-05-26T12:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Expired Access Token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Expired-Access-Token/m-p/599687#M27855</link>
      <description>&lt;P&gt;No, refresh token doesn't expire itself. It's long lived and can only be revoked by the application or by user on demand.&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 12:53:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Expired-Access-Token/m-p/599687#M27855</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-05-26T12:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: Expired Access Token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Expired-Access-Token/m-p/599881#M27868</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;after generating refresh token using below&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;https://www.dropbox.com/oauth2/authorize?token_access_type=offline&amp;amp;response_type=code&amp;amp;client_id=&lt;SPAN class=""&gt;&amp;lt;App key&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;after few minutes i tried to generate access token using curl php, but it is showing&amp;nbsp;&lt;STRONG&gt;string(90) "{"error": "invalid_grant", "error_description": "code has expired (within the last hour)"}" &amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 08:10:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Expired-Access-Token/m-p/599881#M27868</guid>
      <dc:creator>sunilgeechoo</dc:creator>
      <dc:date>2022-05-27T08:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Expired Access Token</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Expired-Access-Token/m-p/599932#M27871</link>
      <description>&lt;P&gt;Hi ageing &lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1543974"&gt;@sunilgeechoo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I'm not sure what actually you have done, but if you stopped after browser generated code... it's just a code, not refresh token, as you might thought. This code can be used one time for refresh token generation and for nothing else! As seems you haven't done it or trying multiple times (I speculate here).&lt;/P&gt;&lt;P&gt;To discuss your issue, present passed workflow, you have done, in&amp;nbsp; more consistent way so to be clear what's the actual state and what can be done next. Maybe would be helpful exact sequence of steps up to refresh token generation (they are 2 actually) and a code snippet showing the place where you get error. Most probably you have moved second step for refresh token generation in your regular application code flow, something erroneous if unintentional. Make a note that I grouped my post, referred before, in paragraphs. Don't split commands residing in one paragraph.&lt;/P&gt;&lt;P&gt;Hope this gives additional direction.&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 12:19:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Expired-Access-Token/m-p/599932#M27871</guid>
      <dc:creator>Здравко</dc:creator>
      <dc:date>2022-05-27T12:19:23Z</dc:date>
    </item>
  </channel>
</rss>

