Hi I have a flow that attaches 2 unique files into an email then sends a message to 80+ recipients, all works fine.
The issue is that when it is complete it returns a failed message as if it hasn't worked, but it has!
Any ideas? This is the message:
The execution of template action 'Filter_array' failed: The evaluation of 'query' action 'where' expression '@contains(item()?['Name'], items('Apply_to_each_2')?['field_0'])' failed: 'The template language function 'contains' expects parameters of matching types: a dictionary and a key (string), an array and a value (object), or a string and a substring. The provided types 'String' and 'Null' are incompatible. Please see https://aka.ms/logicexpressions#contains for usage details.'.
Thanks