<?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: Authentication Error on iOS (Core API v1) in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authentication-Error-on-iOS-Core-API-v1/m-p/164615#M5854</link>
    <description>&lt;P&gt;[Moved to API Development forum]&lt;/P&gt;
&lt;P&gt;Apologies for the delay! In the future, be sure to post any issues regarding the API in particular in the API Development forum.&lt;/P&gt;
&lt;P&gt;Anyway, so we can help with this, please let us know:&lt;/P&gt;
&lt;P&gt;- the version number of the SDK you're using&lt;/P&gt;
&lt;P&gt;- the rest of the relevant code, e.g., where you create the session and client&lt;/P&gt;
&lt;P&gt;- if the sample app included with the SDK reproduces the issue for you too&lt;/P&gt;</description>
    <pubDate>Wed, 21 Oct 2015 01:01:00 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2015-10-21T01:01:00Z</dc:date>
    <item>
      <title>Authentication Error on iOS (Core API v1)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authentication-Error-on-iOS-Core-API-v1/m-p/164614#M5853</link>
      <description>&lt;P&gt;There seems to be an authentication that might randomly happen the first time the app links to dropbox. (it happened in 2 out of 6 tries). However it seems to work correctly if the app is restarted.&lt;/P&gt;
&lt;P&gt;The flow is, Link to dropbox, when successful and when the focus returns to my app, i try uploading a file, then I get the following error:&lt;/P&gt;
&lt;P&gt;2015-10-16 19:29:50.499 appName[300:29495] [WARNING] DropboxSDK: error making request to /1/files_put/auto/Backup (2015-10-16 at 1929).zip - (401) Authentication failed&lt;/P&gt;
&lt;P&gt;2015-10-16 19:29:50.499 appName[300:29495] File upload failed with error: Error Domain=dropbox.com Code=401 "(null)" UserInfo={sourcePath=/private/var/mobile/Containers/Data/Application/9357CDDE-0F42-4AE5-B5AD-7151BA370FC5/tmp/Backup (2015-10-16 at 1929).zip, destinationPath=/Backup (2015-10-16 at 1929).zip, error=Authentication failed}&lt;/P&gt;
&lt;P&gt;2015-10-16 19:29:50.500 appName[300:29495] File upload failed with error (localized): The operation couldn’t be completed. (dropbox.com error 401.)&lt;/P&gt;
&lt;P&gt;Also if i try requesting metadata i get this error:&lt;/P&gt;
&lt;P&gt;2015-10-16 19:29:59.107 appName[300:29495] [WARNING] DropboxSDK: error making request to /1/metadata/auto - (400) invalid_request&lt;/P&gt;
&lt;P&gt;2015-10-16 19:29:59.108 appName[300:29495] Error loading metadata: Error Domain=dropbox.com Code=400 "(null)" UserInfo={error_description=No auth function available for given request, path=/, error=invalid_request}&lt;/P&gt;
&lt;P&gt;-------------------&lt;/P&gt;
&lt;P&gt;However this is strange because it should ALREADY be linked, since i check it before performing the requests like this:&lt;/P&gt;
&lt;P&gt;if (![[DBSession sharedSession] isLinked]) {&lt;BR /&gt; return;&lt;BR /&gt; }&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;By the way, i followed everything written on this guide: &lt;A href="https://www.dropbox.com/developers-v1/core/start/ios" rel="nofollow noreferrer" target="_blank"&gt;https://www.dropbox.com/developers-v1/core/start/ios&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;And as mentioned earlier, the weird thing is that, it might or might not happen the first time it is linked. So its kind of hard to replicate. Last time it happened, i closed the app, re-opened and it was suddenly fixed.&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:39:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authentication-Error-on-iOS-Core-API-v1/m-p/164614#M5853</guid>
      <dc:creator>QOOQ</dc:creator>
      <dc:date>2019-05-29T09:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication Error on iOS (Core API v1)</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authentication-Error-on-iOS-Core-API-v1/m-p/164615#M5854</link>
      <description>&lt;P&gt;[Moved to API Development forum]&lt;/P&gt;
&lt;P&gt;Apologies for the delay! In the future, be sure to post any issues regarding the API in particular in the API Development forum.&lt;/P&gt;
&lt;P&gt;Anyway, so we can help with this, please let us know:&lt;/P&gt;
&lt;P&gt;- the version number of the SDK you're using&lt;/P&gt;
&lt;P&gt;- the rest of the relevant code, e.g., where you create the session and client&lt;/P&gt;
&lt;P&gt;- if the sample app included with the SDK reproduces the issue for you too&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2015 01:01:00 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Authentication-Error-on-iOS-Core-API-v1/m-p/164615#M5854</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2015-10-21T01:01:00Z</dc:date>
    </item>
  </channel>
</rss>

