<?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: Integration to Dropbox suddenly failing in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Integration-to-Dropbox-suddenly-failing/m-p/624125#M28851</link>
    <description>&lt;P&gt;That worked - thanks&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2022 18:08:42 GMT</pubDate>
    <dc:creator>purringpigeon</dc:creator>
    <dc:date>2022-09-21T18:08:42Z</dc:date>
    <item>
      <title>Integration to Dropbox suddenly failing</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Integration-to-Dropbox-suddenly-failing/m-p/623516#M28794</link>
      <description>&lt;P&gt;I have a simple app that uploads a set of files to Dropbox as a back up - been working fine on V2 for years now it fails. Token is expired apparently.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I updated my cocoa pod today - but that brought more errors - Xcode fail to build, but the errors disappear and I have no idea what is broken.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I noticed the DropboxClientsManager was renamed, but that was the only error that was present in the project - updated from 2.0.6 to 3.0.15 - and it's all a mess - any guide i can use to fix this.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 22:43:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Integration-to-Dropbox-suddenly-failing/m-p/623516#M28794</guid>
      <dc:creator>purringpigeon</dc:creator>
      <dc:date>2022-09-19T22:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Integration to Dropbox suddenly failing</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Integration-to-Dropbox-suddenly-failing/m-p/623522#M28795</link>
      <description>&lt;P&gt;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. Also, note though that after the change you won't be able to create new long-lived access tokens.&lt;BR /&gt;&lt;BR /&gt;While the change began on September 30th 2021, we released it gradually, so you may not have seen your app(s) affected until more recently. Once it applies to your app, it would apply regardless of the "Access token expiration" setting for your app, and that setting may no longer be available for your app.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The official Dropbox SDKs can handle the refresh process for you as long as you use a relatively recent version. For example, based on the version numbers you shared, it sounds like you're using the Dropbox Objective-C SDK. Support for short-lived access tokens/refresh tokens was &lt;A href="https://github.com/dropbox/dropbox-sdk-obj-c/releases/tag/5.0.2" target="_blank"&gt;introduced to that in v5.0.2 in August 2020&lt;/A&gt;. You can find &lt;A href="https://github.com/dropbox/dropbox-sdk-obj-c/releases" target="_blank"&gt;the release history which indicates what changed for each release here&lt;/A&gt;. For example, as you mentioned, DropboxClientsManager was renamed &lt;A href="https://github.com/dropbox/dropbox-sdk-obj-c/releases/tag/3.0.0" target="_blank"&gt;in v3.0.0&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The latest version is currently v7.0.0. As long as you use &lt;A href="https://github.com/dropbox/dropbox-sdk-obj-c#handling-the-authorization-flow" target="_blank"&gt;the authorization flow with authorizeFromControllerV2 as documented&lt;/A&gt;, it will handle short-lived access tokens and the refresh process for you automatically.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure what you mean by "but the errors disappear" though. That sounds like it may be an issue with Xcode itself, so you may need to refer to the resources for Xcode for help with that.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 19:23:47 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Integration-to-Dropbox-suddenly-failing/m-p/623522#M28795</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-09-19T19:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Integration to Dropbox suddenly failing</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Integration-to-Dropbox-suddenly-failing/m-p/623526#M28796</link>
      <description>&lt;P&gt;Thank you - that makes sense - it only happens to people who are upgrading phones and have to relink their account then it works for a couple of hours, then dies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did a pod update today and only got to 3.0.15 - I am not seeing how to get anything later and the method you indicate authorizeFromControllerV2 is not there - is there a way to force going up to the 5.X as you mentioned?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 19:35:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Integration-to-Dropbox-suddenly-failing/m-p/623526#M28796</guid>
      <dc:creator>purringpigeon</dc:creator>
      <dc:date>2022-09-19T19:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Integration to Dropbox suddenly failing</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Integration-to-Dropbox-suddenly-failing/m-p/623539#M28798</link>
      <description>&lt;P&gt;That should be controlled by your Podfile. For instance, &lt;A href="https://github.com/dropbox/dropbox-sdk-obj-c/releases/tag/3.0.16" target="_blank"&gt;v3.0.16 dropped iOS 8&lt;/A&gt;, so if you're still specifying support for iOS 8 in your Podfile, Cocoapods wouldn't upgrade you past that.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 20:47:26 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Integration-to-Dropbox-suddenly-failing/m-p/623539#M28798</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-09-19T20:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Integration to Dropbox suddenly failing</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Integration-to-Dropbox-suddenly-failing/m-p/623563#M28802</link>
      <description>Thanks again - I haven’t done much with pods so this is causing me trouble and appreciate the help.&lt;BR /&gt;&lt;BR /&gt;I tried changing the iOS level in the pod file to 11.0, 15.0, 16.0 and it fails saying no version found based on this: &lt;A href="https://github.com/dropbox/dropbox-sdk-obj-c/releases" target="_blank"&gt;https://github.com/dropbox/dropbox-sdk-obj-c/releases&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Is there a trick to make that work? I’ll keep poking at it but appreciate any tips.</description>
      <pubDate>Mon, 19 Sep 2022 21:51:15 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Integration-to-Dropbox-suddenly-failing/m-p/623563#M28802</guid>
      <dc:creator>purringpigeon</dc:creator>
      <dc:date>2022-09-19T21:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Integration to Dropbox suddenly failing</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Integration-to-Dropbox-suddenly-failing/m-p/624067#M28845</link>
      <description>&lt;P&gt;I can't seem to upgrade to the latest version...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;### Podfile

```ruby
platform :ios, '11.0'
use_frameworks!

target 'ServiceReport' do
    pod 'ObjectiveDropboxOfficial'
end
```

### Error

```
RuntimeError - [Xcodeproj] Unknown object version.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;I am running an M2 MacBook Air if that matters&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 15:46:41 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Integration-to-Dropbox-suddenly-failing/m-p/624067#M28845</guid>
      <dc:creator>purringpigeon</dc:creator>
      <dc:date>2022-09-21T15:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: Integration to Dropbox suddenly failing</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Integration-to-Dropbox-suddenly-failing/m-p/624070#M28848</link>
      <description>&lt;P&gt;It looks like that's an error from CocoaPods itself so I can't really offer support for that, but it looks like there's &lt;A href="https://github.com/CocoaPods/CocoaPods/issues/10984" target="_blank"&gt;a post about that error here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 15:53:03 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Integration-to-Dropbox-suddenly-failing/m-p/624070#M28848</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-09-21T15:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Integration to Dropbox suddenly failing</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Integration-to-Dropbox-suddenly-failing/m-p/624125#M28851</link>
      <description>&lt;P&gt;That worked - thanks&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 18:08:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Integration-to-Dropbox-suddenly-failing/m-p/624125#M28851</guid>
      <dc:creator>purringpigeon</dc:creator>
      <dc:date>2022-09-21T18:08:42Z</dc:date>
    </item>
  </channel>
</rss>

