Hello,
I set up a due day reminder flow in a sharepoint list. It's scheduled to run on 08:00 everyday to see any items are 2 days before target date. Then, the flow will send a reminder e-mail with the title of that item to the assignee. I found that the flow has error in sending e-mail step. The error is "The execution of template action 'Apply_to_each_2' failed: the result of the evaluation of 'foreach' expression '@items('Apply_to_each')' is of type 'Object'. The result must be a valid array.". The flow was working at the time assignee field allowing single input only. My colleague updated the settings of assignee field to allow multiple input and the flow got error. Then, I changed back to allow single input only but the problem persists. May I know is this the root cause of this error?
Below are the errors I got.
The error I got
Click on "Apply to each" for the details.
The error message I got
This is the flow I set.
My flow
The condition to get the items.
The condition to get the items
The details of the e-mail.
The email
Mouse on 'Assignee email'.
Description of assignee e-mail
Thank you very much!