Are you using the Onion Arduino Library, and if so, have you downloaded and installed it?
Note that for Arduino Dock 2, there's no need to use the Onion Library or the Onion object. Try getting rid of that and trying again.

Looks like your connection to Onion Community was lost, please wait while we try to reconnect.