Hi,
I'm getting the following error on my flow when sending an email:
Unable to process template language expressions in action 'Send_an_email_(V2)' inputs at line '0' and column '0': 'In function 'formatDateTime', the value provided for date time string '' was not valid. The datetime string must match ISO 8601 format.'.
It started today, but it has been working so I'm a bit confused.



formatDateTime(variables('DateofCall'),'dd-MM-yyyy')
There is another date variable in the flow with same issue - DateOfFollowUp
It was all working on Friday, which is why I'm scratching my head - successful flow below and email was received with correct date format

Thanks for any help offered.
Darren.