<?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: Re-linking using Obj-C SDK fails with network error in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-linking-using-Obj-C-SDK-fails-with-network-error/m-p/672972#M30352</link>
    <description>&lt;P&gt;I don't know what the official fix should look like, but you are welcome to use my workaround commit until then:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/roostr/dropbox-sdk-obj-c/commit/d36413c958caf822ebfca513adf7587754109c19" target="_blank"&gt;https://github.com/roostr/dropbox-sdk-obj-c/commit/d36413c958caf822ebfca513adf7587754109c19&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Mar 2023 17:47:32 GMT</pubDate>
    <dc:creator>roosterzappa</dc:creator>
    <dc:date>2023-03-30T17:47:32Z</dc:date>
    <item>
      <title>Re-linking using Obj-C SDK fails with network error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-linking-using-Obj-C-SDK-fails-with-network-error/m-p/593634#M27620</link>
      <description>&lt;P&gt;I noticed this on my app, but it is also reliably reproducible using the DBRoulette sample app. Using SDK 6.3, iOS 15.4.1 and an iPhone Pro 12.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you link to a Dropbox account, then unlink (this step may not actually be required) and then shortly afterward attempt to link to the same Dropbox account, the link fails with a network error. If you then try to link again it works fine, and if you wait a few minutes it also works. Suspect it may be an issue with re-using a stale network connection?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The issue occurs specifically when control is passed back to the app and it attempts to retrieve the token.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While not a very serious issue, re-linking is something that is often performed when troubleshooting issues with connectivity.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can't attach the full log snippet as it marks this thread as Spam for some reason, but the main entries are listed below:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;[connection] nw_read_request_report [C6] Receive failed with error "Software caused connection abort"
Task &amp;lt;01053FC1-6F47-4A0E-8C3D-1E80465C2987&amp;gt;.&amp;lt;5&amp;gt; HTTP load failed, 37/0 bytes (error code: -1005 [1:53])
Task &amp;lt;01053FC1-6F47-4A0E-8C3D-1E80465C2987&amp;gt;.&amp;lt;5&amp;gt; finished with error [-1005] Error Domain=NSURLErrorDomain Code=-1005 "The network connection was lost." UserInfo={_kCFStreamErrorCodeKey=53, NSUnderlyingError=0x28225ca80 {Error Domain=kCFErrorDomainCFNetwork Code=-1005 "(null)" UserInfo={_kCFStreamErrorCodeKey=53, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask &amp;lt;01053FC1-6F47-4A0E-8C3D-1E80465C2987&amp;gt;.&amp;lt;5&amp;gt;, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalDataTask &amp;lt;01053FC1-6F47-4A0E-8C3D-1E80465C2987&amp;gt;.&amp;lt;5&amp;gt;"
), NSLocalizedDescription=The network connection was lost., NSErrorFailingURLStringKey=https://api.dropbox.com/oauth2/token, NSErrorFailingURLKey=https://api.dropbox.com/oauth2/token, _kCFStreamErrorDomainKey=1}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 08:20:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-linking-using-Obj-C-SDK-fails-with-network-error/m-p/593634#M27620</guid>
      <dc:creator>Mark R.5</dc:creator>
      <dc:date>2022-04-27T08:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: Re-linking using Obj-C SDK fails with network error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-linking-using-Obj-C-SDK-fails-with-network-error/m-p/593730#M27623</link>
      <description>&lt;P&gt;Thanks for the report! I'll ask the team to look into it.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 16:00:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-linking-using-Obj-C-SDK-fails-with-network-error/m-p/593730#M27623</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2022-04-27T16:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Re-linking using Obj-C SDK fails with network error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-linking-using-Obj-C-SDK-fails-with-network-error/m-p/672972#M30352</link>
      <description>&lt;P&gt;I don't know what the official fix should look like, but you are welcome to use my workaround commit until then:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/roostr/dropbox-sdk-obj-c/commit/d36413c958caf822ebfca513adf7587754109c19" target="_blank"&gt;https://github.com/roostr/dropbox-sdk-obj-c/commit/d36413c958caf822ebfca513adf7587754109c19&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 17:47:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-linking-using-Obj-C-SDK-fails-with-network-error/m-p/672972#M30352</guid>
      <dc:creator>roosterzappa</dc:creator>
      <dc:date>2023-03-30T17:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Re-linking using Obj-C SDK fails with network error</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-linking-using-Obj-C-SDK-fails-with-network-error/m-p/673004#M30359</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/1653681"&gt;@roosterzappa&lt;/a&gt; Thanks for sharing that!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Mar 2023 18:50:22 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Re-linking-using-Obj-C-SDK-fails-with-network-error/m-p/673004#M30359</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2023-03-30T18:50:22Z</dc:date>
    </item>
  </channel>
</rss>

