Failed trying to write value '{0}' with Type '{1}' as an Identifier of Type '{2}' for Entity (External Content Type) with ...

Failed trying to write value '{0}' with Type '{1}' as an Identifier of Type '{2}' for Entity (External Content Type) with Name '{3}' in Namespace '{4}'. Check Method with Name '{5}' on Entity with Name '{6}' in Namespace '{7}', or input data for type compatibility.