Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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); } }
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
Hi there!
If you need more help you can view your support options (expected response time for a 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!