You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
AliLezama
7 years agoExplorer | Level 4
Not receiving responses
Hi, I'm new with the Api of DropBox in general. Right now I'm trying to integrate the api on my iOS app. I followed this steps I managed to get it working on Xcode Version 9.2 with Swift 3.2. I have already signIn with my user and created a folder just as the examples says. What I really want to do is to get the user files list, but I'm making the request almost the same as the creatinFolder but I just dont get a response. I would be very happy with any help
let client = Dropbox.authorizedClient; client?.files.listFolder(path:"").response
{ response, error in if let response = response
{ print("Response: ",response); let data = response.entries; for file in data { print(file.name); } }
else if let error = error
{ print("Error: ",error); } }
- What version number of the Dropbox SDK do you have installed? The SDK doesn't have a `Dropbox.authorizedClient`, just `DropboxClientsManager.authorizedClient`.
(If you're not running the latest version, currently v4.5.0, please upgrade and try reproducing the issue again.)
- Greg-DBDropbox StaffCan you check if `client` is `nil`? It looks like you maybe meant to use `DropboxClientsManager.authorizedClient` instead of `Dropbox.authorizedClient`.
- AliLezamaExplorer | Level 4
Hi Greg, thanks for your help.
But as I mentioned when I run the test to create a folder on myDropBox it does create it, without response. When I try to get files I've checked the client and it isn't nil.
About the use of 'Dropbox.authorizedClient' instead of 'DropboxClientsManager.authorizedClient', is because xcode told me i didn't found the 'DropboxClientsManager.authorizedClient'.I track the request response and on Alamofire the validate function does not return neither Success nor Failure. I'm going to try Alamofire request alone to see if theres a problem
- Greg-DBDropbox StaffWhat version number of the Dropbox SDK do you have installed? The SDK doesn't have a `Dropbox.authorizedClient`, just `DropboxClientsManager.authorizedClient`.
(If you're not running the latest version, currently v4.5.0, please upgrade and try reproducing the issue again.)
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,915 PostsLatest Activity: 6 years agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!