Find out why your value from variable is not valid.
Show us how the variable is being set and passed over.