<?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 not found error on delta call after authorization in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-Token-not-found-error-on-delta-call-after-authorization/m-p/167662#M6094</link>
    <description>&lt;P&gt;I have a rails app that hooks into dropbox. I'm currently attempting to make a delta call, but I continuously have a Access token not found.: {"error": "Access token not found."} which is an OAuth2::Error from the &lt;A href="https://github.com/intridea/oauth2" target="_blank" rel="nofollow noreferrer"&gt;oauth2 gem. &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The image below shows my request and response:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://www.dropboxforum.com/hc/user_images/5fKyPwrW4-31WU9kV5ibVA.png" alt="" /&gt;&lt;/P&gt;
&lt;P&gt;a) is the request formatted correctly? The app was working before, but I hadn't touched it in 3 months, and then it stopped. Things like the urls for the api endpoints changed, so I've been bringing it up to speed. It seems as if the authorize callback and /oauth/token calls go through smoothly. It just stops here.&lt;/P&gt;
&lt;P&gt;b) if it is correct, any thoughts? I've revoked user access to the app many times, and I don't have an old access_token stored anywhere and I do get a new one when i re-register the app. I haven't tried the disable access token endpoint yet, but I will after letting this post linger&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:34:45 GMT</pubDate>
    <dc:creator>J C.15</dc:creator>
    <dc:date>2019-05-29T09:34:45Z</dc:date>
    <item>
      <title>Access Token not found error on delta call after authorization</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-Token-not-found-error-on-delta-call-after-authorization/m-p/167662#M6094</link>
      <description>&lt;P&gt;I have a rails app that hooks into dropbox. I'm currently attempting to make a delta call, but I continuously have a Access token not found.: {"error": "Access token not found."} which is an OAuth2::Error from the &lt;A href="https://github.com/intridea/oauth2" target="_blank" rel="nofollow noreferrer"&gt;oauth2 gem. &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The image below shows my request and response:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://www.dropboxforum.com/hc/user_images/5fKyPwrW4-31WU9kV5ibVA.png" alt="" /&gt;&lt;/P&gt;
&lt;P&gt;a) is the request formatted correctly? The app was working before, but I hadn't touched it in 3 months, and then it stopped. Things like the urls for the api endpoints changed, so I've been bringing it up to speed. It seems as if the authorize callback and /oauth/token calls go through smoothly. It just stops here.&lt;/P&gt;
&lt;P&gt;b) if it is correct, any thoughts? I've revoked user access to the app many times, and I don't have an old access_token stored anywhere and I do get a new one when i re-register the app. I haven't tried the disable access token endpoint yet, but I will after letting this post linger&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:34:45 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-Token-not-found-error-on-delta-call-after-authorization/m-p/167662#M6094</guid>
      <dc:creator>J C.15</dc:creator>
      <dc:date>2019-05-29T09:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Access Token not found error on delta call after authorization</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-Token-not-found-error-on-delta-call-after-authorization/m-p/167663#M6095</link>
      <description>&lt;P&gt;You're using&amp;nbsp;Dropbox API v1, a.k.a. the Core API. API v1 supports both OAuth 1 and OAuth 2. You seem to be mixing OAuth 1 and OAuth 2, but you're only supposed to use one or the other for any particular API call.&lt;/P&gt;
&lt;P&gt;I.e., the "access_token" parameter and the "Authorization" header are ways to supply an OAuth 2 access token. The other "oauth_*" parameters are used for OAuth 1.&lt;/P&gt;
&lt;P&gt;You should only use one of these methods at a time. We&amp;nbsp;recommend using the Authorization header to pass an OAuth 2 access token. If you use that, you can get rid of the URL parameters.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2016 00:53:57 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-Token-not-found-error-on-delta-call-after-authorization/m-p/167663#M6095</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-03-22T00:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Access Token not found error on delta call after authorization</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-Token-not-found-error-on-delta-call-after-authorization/m-p/167664#M6096</link>
      <description>&lt;P&gt;I see my mistake. I tested it with a REST firefox plugin and both worked very well. The mistake is on my end.&lt;/P&gt;
&lt;P&gt;In fact, if I give both the Authorization header and parameters, but with more than the needed parameters (my gem keeps inserting a "oauth_token" on top of the "access_token" for v1) then the error is&lt;/P&gt;
&lt;PRE class="hljs json"&gt;{"&lt;SPAN class="hljs-attribute"&gt;error&lt;/SPAN&gt;": &lt;SPAN class="hljs-value"&gt;&lt;SPAN class="hljs-string"&gt;"Access token not found."&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN class="hljs-value"&gt;&lt;SPAN class="hljs-string"&gt;But if I include just what's necessary, but both of them still, I get this&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE class="hljs json"&gt;{"&lt;SPAN class="hljs-attribute"&gt;error&lt;/SPAN&gt;": &lt;SPAN class="hljs-value"&gt;&lt;SPAN class="hljs-string"&gt;"Cannot specify both an \"Authorization\" header and the URL/POST parameter \"access_token\"."&lt;/SPAN&gt;&lt;/SPAN&gt;}&lt;/PRE&gt;
&lt;P&gt;So the errors are very helpful. I was just stuck on the first, never seeing the second. Hope this helps someone else too. Thanks Gregory!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2016 04:59:39 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Access-Token-not-found-error-on-delta-call-after-authorization/m-p/167664#M6096</guid>
      <dc:creator>J C.15</dc:creator>
      <dc:date>2016-03-22T04:59:39Z</dc:date>
    </item>
  </channel>
</rss>

