Getting error while connecting to smartaPI