Error Domain=com.estimote Code=2 "Authorization failed for this beacon

I have wrote the application based on Blank App template, downloaded from the cloud.
ESTConfig.setupAppID("xxx", andAppToken: "xxxx") was already in the app.

I have declared the region and beacon manager:

let region = CLBeaconRegion(proximityUUID: NSUUID(UUIDString: "B9407F30-F5F8-466E-AFF9-25556B57FE6D")!, identifier: "Estimote")
let beaconManager = ESTBeaconManager()
func beaconManager(manager: AnyObject!, didRangeBeacons beacons: [AnyObject]!, inRegion region: CLBeaconRegion!) {
    for beacon in beacons as! [CLBeacon] {
        let beaconConnection = ESTBeaconConnection(beacon: beacon, delegate: self, startImmediately: false)

func beaconConnection(connection: ESTBeaconConnection, didFailWithError error: NSError) {
    NSLog("Something went wrong. Beacon connection Did Fail. Error: %@", error);

I am receiving the error
Error Domain=com.estimote Code=2 "Authorization failed for this beacon.

Please close this topic. It appears that my phone has lost the internet connection and this was the reason.

Thanks for sharing! Our take-away is, we need better error messaging in the SDK (: