Power Apps toPower Automate Error - The input body for trigger 'manual' of type 'Request' did not match its schema definition , the input String does not validate against the date
While working with power Apps to Power automate, passing the Date time values as Text(DateTimeValue) throws error as below.
The input body for trigger 'manual' of type 'Request' did not match its schema definition. Error details: 'String '' does not validate against format 'date'.'.
After checking the Microsoft documentation and few blogs i found out the date values should be passed as a formatted date time. TO pass the date time we need to use following functions.
Text(<<DateTimePicker>>.SelectedDate,"[$-en-US]yyyy-mm-dd")
Even after passing the value i am still seeing the same issue and finally found out the default value ids sending as empty and formulae failing for empty values.
So we need to make sure the Date Value should not go blank to the formulae and the value should be formatted using the formulae as above.
Hope this helps.
Comments