Hello !
I'm trying to sync new event on a Google Calendar to an Outlook calendar, but when I run a test it failed with this error details :
"The string was not recognized as a valid DateTime. There is an unknown word starting at index 0.
clientRequestId: fe0c7056-ae08-47aa-911b-f13a45d0205f"
In StartTime field I have this : "convertToUtc(triggerOutputs()?['body/start'], 'GMT Standard Time')"
And in EndTime field I have this : "convertToUtc(triggerOutputs()?['body/start'], 'GMT Standard Time')"
According to this post, because I had an error "OpenApiOperationParameterValidationFailed" with "triggerOutputs()?['body/start']" : https://powerusers.microsoft.com/t5/Building-Flows/Template-by-Microsoft-Flow-Community-does-not-save/m-p/483192#M59201
Any ideas to fix this ?
Hi @hbirdlabs ,
You need to add the formula as an expression.
Add a @ and copy and paste into the field again.
E.g.
@convertToUtc(triggerOutputs()?['body/start'], 'GMT Standard Time')
Do the same for end time
--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up
Connect on LinkedIn
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2