4012

“Type mismatch in parameter ‘<Name>’ of ‘<Name>’: Cannot convert ‘<Name>’ to ‘<Name>’.”

A value with the invalid type <Type2> is assigned to the input variable ‘<Name>’. Replace the variable or constant to one of type <Type1> or use a type conversion or a constant with type-prefix.