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 download error in tutorial

SwiftyDropbox download error in tutorial

Bill P.12
New member | Level 1

When the SwiftyDropbox tutorial was implemented at the 1.0 release, the following error was received: 

“Missing argument for parameter 'destination' in call” for this line of code: “client.files.download(path: "/hello.txt").response { response, error in”

 

The error can be eliminated by changing the line of code to: “client.files.download(path: "/hello.txt", destination: destination).response { response, error in” 

The documentation may need to be changed.

1 Reply 1

Greg-DB
Dropbox Staff

Thanks for the report! We'll get that fixed up.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?