The code is attempting to use data of one data type in a context that expects an incompatible data type. This can happen when assigning a value to a variable or when passing an argument to a function that has type-annotated parameters.
To correct this error
-
Make sure that the code passes data of a data type that can be coerced to the expected data type.