Hi,
I am getting this error when run my power automate flow -
compose -
Unable to process template language expressions in action 'Compose_2' inputs at line '0' and column '0': 'The template language function 'int' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'.
Hi @wonka1234 ,
You would like to add some days to 1899-12-30 right?
The addend should be number of days rather than a date. Please tell me specifically what days you would like to add to the 1899-12-30 and how will you get that from above action, so that I may help you to generate a function.
Community Support Team _ Wenjuan Zou
If this post helps, then please consider Accept it as the solution to help the other members find it.
how can I fix this though? These are date fields in excel going into date fields in sharepoint.
Hi @wonka1234 ,
According to your error message, the issue happens to int(outputs('Compose')). It means output from Compose is not a valid parameter to convert to integer.
Seems like output from compose should be a string as concat() function could only be applied to strings.
Refer to this link for its usage:
Reference guide for expression functions - Azure Logic Apps | Microsoft Learn
Community Support Team _ Wenjuan Zou
If this post helps, then please consider Accept it as the solution to help the other members find it.
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