cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SwiftyDropbox API Error

SwiftyDropbox API Error

H. Reo
New member | Level 1

Hello!

I'm trying out SwiftyDropbox

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

 

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 18

Leah C.1
New member | Level 1

Since you're using Swift 2.0, what does your Podfile for your project look like?

H. Reo
New member | Level 1

this is my Podfile for my project

 

platform :ios, '8.0'
use_frameworks!

target 'MY-PROJECT' do
pod 'SwiftyDropbox', :git => 'git@github.com:dropbox/SwiftyDropbox.git', :branch => 'swift-2.0'
end

Leah C.1
New member | Level 1

I've verified that this is a bug in SwiftyDropbox and we're working on a fix. Sorry about that. Thanks so much for letting us know about it!

Henk Martijn L.
New member | Level 1

Could you please let us now in here, when the bug is fixed? Thanks so far for the great api!

Greg-DB
Dropbox Staff

Will do!

Henk Martijn L.
New member | Level 1

Hey!

Is there any status update about the fix? Since this is where I have all my logic build on to sync between the device and dropbox. So I can't really use it at the moment! 
Downgrading osx is also to much of a hassle 🙂

Greg-DB
Dropbox Staff

Sorry, no update quite yet. It should be relatively soon though.

Greg-DB
Dropbox Staff

This should be fixed in the latest release. Let us know if you're still seeing any issues.

Henk Martijn L.
New member | Level 1

Solved the problem, thanks!

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Leah C.1 New member | Level 1
  • User avatar
    Liang M. New member | Level 1
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?