try {
      this.validateData();
      const rec = await tagDao.getHierarchyByUser(this.data.userid);
      let recToWrite;
      if (!rec) {