Can anyone help with the following error message? I am unable to figure out the issue causing this error. When we run the command directly from the target node (linux), we get the desired output. Why is Solarwinds unable to understand the format.
Orion Platform 2017.1.3 SP3, IPAM 4.5.0, NCM 7.6, CloudMonitoring 1.0.0, NPM 12.1, DPAIM 11.0.0, QoE 2.3, VIM 7.1.0, SAM 6.4.0, NetPath 1.1.0
1999-2019 SolarWinds Worldwide, LLC. All Rights Reserved.

script body:
#!/bin/sh
set -e
Hostname=$1
memory_free_kib=`xe host-data-source-query hostname=$Hostname data-source=memory_free_kib`
#If Memory is empty then put it as 0
if [ -z $memory_free_kib ]
then
memory_free_kib=0
fi
#Converting Memory unit from kib to MB
memory_free_mb=$(echo $memory_free_kib*0.001024 | bc)
#Round to 3 decimal places
memory_free_mb=`printf "%0.3f\n" $memory_free_mb`
echo "Statistic.HostFreeMemory(MB) : $memory_free_mb";
exit 0

*****actual error message with details*****

PLEASE HELP!! Losing my noodle on this problem!