<?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 files.listFolder error code -999 cancelled in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-listFolder-error-code-999-cancelled/m-p/288487#M17651</link>
    <description>&lt;P&gt;I have the following code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;    let client = DropboxClient(accessToken: "&amp;lt;ACCESS_TOKEN&amp;gt;")
        
        print("!!! client=", client)
        
        client.files.listFolder(path: "").response {
            
            response, error in
            
            if let result = response {
                
                print("Folder contents:")
                
                for entry in result.entries {
                    
                    print(entry.name)
                    
                }
                
            } else {
                
                print(error!)
                
            }
            
        }
            
    }
&lt;/PRE&gt;
&lt;P&gt;I'm getting the following messages in my debug window:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;!!! client= SwiftyDropbox.DropboxClient
Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo={NSErrorFailingURLStringKey=https://api.dropbox.com/2/files/list_folder, NSLocalizedDescription=cancelled, NSErrorFailingURLKey=https://api.dropbox.com/2/files/list_folder}
2018-08-02 01:14:51.190174-0500 Gnolaum[38319:28928969] Task &amp;lt;DB6BC310-C929-4503-9903-DA5EBBAA9638&amp;gt;.&amp;lt;1&amp;gt; finished with error - code: -999
&lt;/PRE&gt;
&lt;P&gt;What does that error mean and how do I&amp;nbsp;fix it?&lt;/P&gt;</description>
    <pubDate>Fri, 29 May 2020 17:14:35 GMT</pubDate>
    <dc:creator>ShinehahGnolaum</dc:creator>
    <dc:date>2020-05-29T17:14:35Z</dc:date>
    <item>
      <title>files.listFolder error code -999 cancelled</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-listFolder-error-code-999-cancelled/m-p/288487#M17651</link>
      <description>&lt;P&gt;I have the following code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;    let client = DropboxClient(accessToken: "&amp;lt;ACCESS_TOKEN&amp;gt;")
        
        print("!!! client=", client)
        
        client.files.listFolder(path: "").response {
            
            response, error in
            
            if let result = response {
                
                print("Folder contents:")
                
                for entry in result.entries {
                    
                    print(entry.name)
                    
                }
                
            } else {
                
                print(error!)
                
            }
            
        }
            
    }
&lt;/PRE&gt;
&lt;P&gt;I'm getting the following messages in my debug window:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;!!! client= SwiftyDropbox.DropboxClient
Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo={NSErrorFailingURLStringKey=https://api.dropbox.com/2/files/list_folder, NSLocalizedDescription=cancelled, NSErrorFailingURLKey=https://api.dropbox.com/2/files/list_folder}
2018-08-02 01:14:51.190174-0500 Gnolaum[38319:28928969] Task &amp;lt;DB6BC310-C929-4503-9903-DA5EBBAA9638&amp;gt;.&amp;lt;1&amp;gt; finished with error - code: -999
&lt;/PRE&gt;
&lt;P&gt;What does that error mean and how do I&amp;nbsp;fix it?&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 17:14:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-listFolder-error-code-999-cancelled/m-p/288487#M17651</guid>
      <dc:creator>ShinehahGnolaum</dc:creator>
      <dc:date>2020-05-29T17:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: files.listFolder error code -999 cancelled</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-listFolder-error-code-999-cancelled/m-p/288573#M17659</link>
      <description>&lt;P&gt;[Cross-linking for reference: &lt;A href="https://github.com/dropbox/SwiftyDropbox/issues/227" target="_blank"&gt;https://github.com/dropbox/SwiftyDropbox/issues/227&lt;/A&gt; ]&lt;BR /&gt;&lt;BR /&gt;It sounds like you already found this thread which should offer some insight:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropboxforum.com/t5/API-Support-Feedback/999-quot-cancelled-quot-Error/m-p/192322#M24501" target="_blank"&gt;https://www.dropboxforum.com/t5/API-Support-Feedback/999-quot-cancelled-quot-Error/m-p/192322#M24501&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Let me know if you're still having trouble.&lt;BR /&gt;&lt;BR /&gt;By the way, you should never post your access token publicly. I redacted them from your posts, but for the sake of security, you should disable that access token. You can do so by revoking access to the app entirely, if the access token is for your account, here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/account/connected_apps" target="_blank"&gt;https://www.dropbox.com/account/connected_apps&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Or, you can disable just this access token using the API:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#auth-token-revoke" target="_blank"&gt;https://www.dropbox.com/developers/documentation/http/documentation#auth-token-revoke&lt;/A&gt; or &lt;A href="https://dropbox.github.io/dropbox-api-v2-explorer/#auth_token/revoke" target="_blank"&gt;https://dropbox.github.io/dropbox-api-v2-explorer/#auth_token/revoke&lt;/A&gt; or &lt;A href="https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/AuthRoutes.html#/s:FC13SwiftyDropbox10AuthRoutes11tokenRevokeFT_GCS_10RpcRequestCS_14VoidSerializerS2__" target="_blank"&gt;https://dropbox.github.io/SwiftyDropbox/api-docs/latest/Classes/AuthRoutes.html#/s:FC13SwiftyDropbox10AuthRoutes11tokenRevokeFT_GCS_10RpcRequestCS_14VoidSerializerS2__&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Also, in the future, please refrain from posting the same question to us in multiple places, as it makes it harder to keep track of. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 02 Aug 2018 15:29:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-listFolder-error-code-999-cancelled/m-p/288573#M17659</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-08-02T15:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: files.listFolder error code -999 cancelled</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-listFolder-error-code-999-cancelled/m-p/288578#M17660</link>
      <description>OK. Thank you for your patience and your help.</description>
      <pubDate>Thu, 02 Aug 2018 15:44:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/files-listFolder-error-code-999-cancelled/m-p/288578#M17660</guid>
      <dc:creator>ShinehahGnolaum</dc:creator>
      <dc:date>2018-08-02T15:44:29Z</dc:date>
    </item>
  </channel>
</rss>

