The Unexpected Data Type warning is issued in the following situations:
Common entity identifier data type expected in comparison: you are comparing two different entity identifiers.
Check the Entity identifiers that you are comparing.
<type> data type expected instead of <type>: you are using the wrong data types in an expression or in a built-in function.
Check the Data Types managed in your expression or used in the built-in function.
Clicking the symbol will take you directly to the invalid usage of the data type.
Available Data Types | About Warning Messages