Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

H. Reo's avatar
H. Reo
New member | Level 1
11 years ago

SwiftyDropbox API Error

Hello!

I'm trying out SwiftyDropbox

=> https://blogs.dropbox.com/developers/2015/05/try-out-swiftydropbox-the-new-swift-sdk-for-dropbox-api-v2/

 

I can get user's name (with usersGetCurrentAccount() )

 

but I can't get user's filesList(with filesListFolder(path: ""))

error message is 'Bad Input: Error in call to API function "files/list_folder": request body: could not decode input as JSON'

 

 environment

Xcode7

Swift2.0

SwiftyDropbox branch 'swift-2.0'  

 

18 Replies

Replies have been turned off for this discussion

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

If 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, Facebook or Instagram.

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!