<?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: no response when trying to list files in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/no-response-when-trying-to-list-files/m-p/267524#M15722</link>
    <description>&lt;P&gt;Nothing in your code looks wrong, so we'll need to investigate further. Please let me know:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- What version number of the SDK do you have installed?&lt;/P&gt;
&lt;P&gt;- Are you seeing the "User is already authorized" message?&lt;/P&gt;
&lt;P&gt;- Are there files/folders to list in the connected account? (If your app is using the "app folder" permission, note that it will only be able to see the contents of the special app folder itself.)&lt;/P&gt;
&lt;P&gt;- Is your network connection working on the device/simulator?&lt;/P&gt;
&lt;P&gt;- What does your app do after running listFolder? Note that the response callback is asynchronous, so it won't return immediately.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Mar 2018 17:56:33 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2018-03-05T17:56:33Z</dc:date>
    <item>
      <title>no response when trying to list files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/no-response-when-trying-to-list-files/m-p/267507#M15718</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to take first steps with the dropbox linkage in my iOS App.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here I have following problem:&lt;/P&gt;&lt;P&gt;I'm opening a ViewController (not the first one) and want to list all files which are in the root folder in my Dropbox.&lt;/P&gt;&lt;P&gt;But when I call "&lt;/P&gt;&lt;P&gt;client.&lt;SPAN&gt;files&lt;/SPAN&gt;.&lt;SPAN&gt;listFolder&lt;/SPAN&gt;(path: &lt;SPAN&gt;""&lt;/SPAN&gt;).&lt;SPAN&gt;response&lt;/SPAN&gt; { response, error &lt;SPAN&gt;in ..."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;it just jumps over the entire code without an errormessage.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have not found any solution yet so I'm hoping someone of you can assist me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Below you see my code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;override func viewDidLoad() {
        super.viewDidLoad()
        
        if (DropboxClientsManager.authorizedClient == nil) {
            DropboxClientsManager.authorizeFromController(UIApplication.shared, controller: self, openURL: {(url:URL) -&amp;gt; Void in UIApplication.shared.open(url, options: [:], completionHandler: nil) })
        }
        else {
            print("User is already authorized!")
        }
        
        if let client = DropboxClientsManager.authorizedClient {
            
            client.files.listFolder(path: "").response { response, error in
                if let result = response {
                    for entry in result.entries {
                        self.dataFromServer.append(DataFromServer())
                        self.dataFromServer[self.dataFromServer.count-1].folderName = entry.name
                    }
                } else {
                    print(error!)
                }
            }
        }
        
    }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:14:55 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/no-response-when-trying-to-list-files/m-p/267507#M15718</guid>
      <dc:creator>Benne</dc:creator>
      <dc:date>2019-05-29T09:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: no response when trying to list files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/no-response-when-trying-to-list-files/m-p/267524#M15722</link>
      <description>&lt;P&gt;Nothing in your code looks wrong, so we'll need to investigate further. Please let me know:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- What version number of the SDK do you have installed?&lt;/P&gt;
&lt;P&gt;- Are you seeing the "User is already authorized" message?&lt;/P&gt;
&lt;P&gt;- Are there files/folders to list in the connected account? (If your app is using the "app folder" permission, note that it will only be able to see the contents of the special app folder itself.)&lt;/P&gt;
&lt;P&gt;- Is your network connection working on the device/simulator?&lt;/P&gt;
&lt;P&gt;- What does your app do after running listFolder? Note that the response callback is asynchronous, so it won't return immediately.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 17:56:33 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/no-response-when-trying-to-list-files/m-p/267524#M15722</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-03-05T17:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: no response when trying to list files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/no-response-when-trying-to-list-files/m-p/267533#M15723</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I found my problem.&lt;/P&gt;&lt;P&gt;For some reason I have to reconnect to my Dropbox if I add a folder.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;If I don't do that I don't get a response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 18:23:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/no-response-when-trying-to-list-files/m-p/267533#M15723</guid>
      <dc:creator>Benne</dc:creator>
      <dc:date>2018-03-05T18:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: no response when trying to list files</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/no-response-when-trying-to-list-files/m-p/267557#M15727</link>
      <description>You shouldn't have to reconnect your account if you add a folder.&lt;BR /&gt;&lt;BR /&gt;I tried your code, and it seems to be working for me. If you're still seeing any issues, please let me know the answers to the above questions, and any steps necessary to reproduce the problem.</description>
      <pubDate>Mon, 05 Mar 2018 20:19:42 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/no-response-when-trying-to-list-files/m-p/267557#M15727</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-03-05T20:19:42Z</dc:date>
    </item>
  </channel>
</rss>

