I have used UiPath.Core.GenericValue as the datatype for output value, when the value is empty in excel it is showing error.