web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

error diagnosis

(0) ShareShare
ReportReport
Posted on by 17

I have a flow processing about 1200 records from an excel table and updating data on a SPO list. i have recurring errors, like the one below on only one of the records, so i know the flow logic is good, and there is something quirky about this record.  What tools are available to figure out what column '2315' is?  Whatever invalid parameter in there is unique, and i am sure if i can find, it i can fix it.

 

InvalidTemplate. Unable to process template language expressions for action 'Condition_2' at line '1' and column '2315': 'The template language function 'int' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,858 Most Valuable Professional on at

    Find where you are using an Int() function or saving a value to an Int variable.  The value you are trying to process there is the problem.  This is usually either caused by a null value or a string that represents a floating point number.  Unlink a lot of computer languages you Int() can't roundoff a number with a decimal portion to an integer.

  • natanz Profile Picture
    17 on at

    unfortunately, this does not help me.  There is nothing in this particular data set (record) where i am using the int variable any differently than the other records that do not get a fail.  My real question and point is about the (non) utility of the power automate error messages. I need to track down the information in  line '1' and column '2315' but the tool gives me very little grasp of what that means, or where to even start looking for that information.

  • natanz Profile Picture
    17 on at

    to be more specific, my flow has found expressions in a row that are very similar to this:

    IF(empty(items('Apply_to_each')?['ConstructionStart']),'1901-12-30',addDays('1899-12-30',int(items('Apply_to_each')?['ConstructionStart']),'MM.dd.yyyy'))
     
    it is the only place i invoke the int() function.  i have many records with null data in the construction start (the other three fields where i invoke the int() function are ConstructionFinish, FieldConstructionStart, FieldConstructionFinish) like this one, and/or many where i change it to this placeholder 1901-12-30.  Only when i bring in this record with the flow do i get the error. It seems random, but it is very consistently only this record.  I can and will ignore it, but i hate to see my flows marked as failed for what seems like no logical reason.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 223 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 205 Most Valuable Professional

#3
harshdeol Profile Picture

harshdeol 167 Moderator

Last 30 days Overall leaderboard