<?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 invalid after upgrading to API v2 in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-invalid-after-upgrading-to-API-v2/m-p/173755#M6773</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;My application has been using the Dropbox API v1 for a while now, and&amp;nbsp;I'm in the process of updating it to support Dropbox API v2.&lt;/P&gt;
&lt;P&gt;The issue I'm having is that&amp;nbsp;existing v1 access tokens (which my app stores) are no longer working when communicating with the v2 API. Attempts to use a v1 access token yield a "access token is malformed" response.&lt;/P&gt;
&lt;P&gt;The problem goes away if the user re-authorizes, of course. But&amp;nbsp;I'd like to make the upgrade process as seamless as possible for users, so is there an option to silently upgrade their stored API v1 access tokens?&lt;/P&gt;
&lt;P&gt;I'm using the .NET Dropbox SDK.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mark R.&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:32:12 GMT</pubDate>
    <dc:creator>Mark R.43</dc:creator>
    <dc:date>2019-05-29T09:32:12Z</dc:date>
    <item>
      <title>Access token invalid after upgrading to API v2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-invalid-after-upgrading-to-API-v2/m-p/173755#M6773</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;My application has been using the Dropbox API v1 for a while now, and&amp;nbsp;I'm in the process of updating it to support Dropbox API v2.&lt;/P&gt;
&lt;P&gt;The issue I'm having is that&amp;nbsp;existing v1 access tokens (which my app stores) are no longer working when communicating with the v2 API. Attempts to use a v1 access token yield a "access token is malformed" response.&lt;/P&gt;
&lt;P&gt;The problem goes away if the user re-authorizes, of course. But&amp;nbsp;I'd like to make the upgrade process as seamless as possible for users, so is there an option to silently upgrade their stored API v1 access tokens?&lt;/P&gt;
&lt;P&gt;I'm using the .NET Dropbox SDK.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mark R.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:32:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-invalid-after-upgrading-to-API-v2/m-p/173755#M6773</guid>
      <dc:creator>Mark R.43</dc:creator>
      <dc:date>2019-05-29T09:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: Access token invalid after upgrading to API v2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-invalid-after-upgrading-to-API-v2/m-p/173756#M6774</link>
      <description>&lt;P&gt;Hi Mark, are your existing access tokens OAuth 1 access tokens, or OAuth 2 access tokens?&lt;/P&gt;
&lt;P&gt;OAuth 1 access tokens have two pieces, a key and a secret. OAuth 2 access tokens are just one long string.&lt;/P&gt;
&lt;P&gt;API v2 only uses OAuth 2, so if you have OAuth 1 access tokens, you'll need to migrate to OAuth 2 first. You can do so using&amp;nbsp;&lt;A href="https://www.dropbox.com/developers-v1/core/docs#oa2-from-oa1" target="_blank" rel="nofollow noreferrer"&gt;/oauth2/token_from_oauth1&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;If you do have OAuth 2 access tokens already though, those should work between both API v1 and API v2 without issue. In that case, please share a sample request/response of the issue. Just be sure to obscure some of the access token for safety.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 01:20:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-invalid-after-upgrading-to-API-v2/m-p/173756#M6774</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-07-01T01:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Access token invalid after upgrading to API v2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-invalid-after-upgrading-to-API-v2/m-p/173757#M6775</link>
      <description>&lt;P&gt;Hi Gregory,&lt;/P&gt;
&lt;P&gt;Thanks very much for the advice. Indeed, it appears the existing version of my application is using OAuth 1 access tokens (there are "key" and "secret" parts to it).&lt;/P&gt;
&lt;P&gt;I'll take a look at the token migration link that you provided.&lt;/P&gt;
&lt;P&gt;Appreciate the quick response!&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mark R.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 01:22:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-invalid-after-upgrading-to-API-v2/m-p/173757#M6775</guid>
      <dc:creator>Mark R.43</dc:creator>
      <dc:date>2016-07-01T01:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Access token invalid after upgrading to API v2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-invalid-after-upgrading-to-API-v2/m-p/173758#M6776</link>
      <description>&lt;P&gt;Hi Gregory,&lt;/P&gt;
&lt;P&gt;A quick follow-up question.&lt;/P&gt;
&lt;P&gt;Since "/oauth2/token_from_oauth1" is part of Dropbox API v1, will it be retired in 2017 as well?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mark R.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 03:16:56 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-invalid-after-upgrading-to-API-v2/m-p/173758#M6776</guid>
      <dc:creator>Mark R.43</dc:creator>
      <dc:date>2016-07-01T03:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Access token invalid after upgrading to API v2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-invalid-after-upgrading-to-API-v2/m-p/173759#M6777</link>
      <description>&lt;P&gt;That endpoint is part of API v1, so it would be shut down with v1. (Unfortunately it's not trivial to migrate it to API v2, since it by definition uses OAuth 1, which API v2 doesn't support.)&lt;/P&gt;
&lt;P&gt;So for now, we&amp;nbsp;recommend using that endpoint and performing the migration before v1 is retired. We'll be keeping an eye on this and offer a solution for doing this via v2 after the fact if necessary though.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2016 03:36:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-invalid-after-upgrading-to-API-v2/m-p/173759#M6777</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-07-01T03:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Access token invalid after upgrading to API v2</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-invalid-after-upgrading-to-API-v2/m-p/200731#M9446</link>
      <description>To follow up here, we do now have an API v2 version of this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#auth-token-from_oauth1" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#auth-token-from_oauth1&lt;/A&gt;</description>
      <pubDate>Thu, 05 Jan 2017 23:01:23 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-token-invalid-after-upgrading-to-API-v2/m-p/200731#M9446</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-01-05T23:01:23Z</dc:date>
    </item>
  </channel>
</rss>

