anchor.diff:              'Authorization':
                   'Bearer ${_userDataProvider.authenticationModel?.accessToken}'
             };
  -          _networkHelper.authorizedPost(mobileLoggerApiWifi, offloadDataHeader,
  -              json.encode(log.toString()));
  +          _networkHelper.authorizedPost(
  +              mobileLoggerApiWifi, offloadDataHeader, json.encode(log));
           }
         }
       } else {
         try {
           getNewToken().then((value) {
             _networkHelper.authorizedPost(
  -              mobileLoggerApiWifi, headers, json.encode(log.toString()));
  +              mobileLoggerApiWifi, headers, json.encode(log));
           });
         } catch (Exception) {
           getNewToken().then((value) {
             _networkHelper.authorizedPost(
  -              mobileLoggerApiWifi, headers, json.encode(log.toString()));
  +              mobileLoggerApiWifi, headers, json.encode(log));
           });
         }
       }
  
positive.code:       }
        // Send to offload API
        try {
          _networkHelper.authorizedPost(mobileLoggerApiWifiReport,
              offloadDataHeader, json.encode(wiFiLog.toString()));
        } catch (Exception) {
          if (Exception.toString().contains(ErrorConstants.invalidBearerToken)) {
            _userDataProvider.silentLogin();
  
negative.code:                 'Bearer ${_userDataProvider.authenticationModel?.accessToken}'
            };
            _networkHelper.authorizedPost(mobileLoggerApiWifiReport,
                offloadDataHeader, json.encode(wiFiLog));
          }
        }
      } else {
        try {
          getNewToken().then((value) {
            _networkHelper.authorizedPost(
                mobileLoggerApiWifiReport, headers, json.encode(wiFiLog));
          });
        } catch (Exception) {
          getNewToken().then((value) {
            _networkHelper.authorizedPost(
                mobileLoggerApiWifiReport, headers, json.encode(wiFiLog));
          });
        }
      }
  