Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Using the example below:
client.files.listFolder(path: "").response { response, error in
if let result = response {
print("Folder contents:")
for entry in result.entries {
print(entry.name)
returns nothing (or rather nil for the response var), and understanding this represents ROOT folder, and I get this error:
Bad Input: Error in call to API function "files/list_folder": request body: could not decode input as JSON
So ... I was able to upload a file, so the token is good, but any list, either files or shared, returns nothing. Guessing something not set correct either in the account or this api ... thanks for your help !
This is a bug in version 2.0.3 of the SwiftyDropbox library. Upgrade to the latest version, currently 3.0.0, and try again.
Thanks for the update and I have confirmed that v3.0 is working great.
Thanks again.
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!