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

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create_item': The parameter with value '"@items('Apply_to_each')?['Focus_Area']"' in path 'item/Focus_Area0' with type/format 'Integer/int32' is not con

(1) ShareShare
ReportReport
Posted on by 523

Hi All:

 

I am trying to get the SQL data imported into the Sharepoint list. I ran into an issue where the expression is basically a boolean, not a string. So we changed some of the columns in SQL table from int to bit. 

 

And I got this error when loading the SQL columns into the SP Create Item action...

 

"Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create_item': The parameter with value '"@items('Apply_to_each')?['Focus_Area']"' in path 'item/Focus_Area0' with type/format 'Integer/int32' is not convertible to type/format 'Boolean'.'."

 

The columns in SP have the Yes/No column and I tried to use the custom value instead of the Yes/No selected, it errors out.

 

YesNO.png

 

 

 

 

If I use the SP column that ends with '_1' that has the short text data type, it takes it in yet the outcome is True/False... BUT the expression would NOT work. 

 

YesNO1.png

Outcome in SP list

YesNO2.png

 

The expression I tried using in the Approval action....Concat is a string yet IF is a boolean....??

 

concat(if(equals(outputs('FIrstEmailUpdate')?['body/LateEntry_1'],True),'Late Entry',''),
if(equals(outputs('FIrstEmailUpdate')?['body/DuplicateNoteType_1'],True),'Duplicate Note Type',''),
if(equals(outputs('FIrstEmailUpdate')?['body/HighMinutes_1'],True),'High Minutes',''),
if(equals(outputs('FIrstEmailUpdate')?['body/HighUnits_1'],True),'High Units',''),
if(equals(outputs('FIrstEmailUpdate')?['body/LongTimeNoUnits_1'],True),'Long Time, No Units',''),
if(equals(outputs('FIrstEmailUpdate')?['body/COVIDText_1'],True),'COVID Text',''),
if(equals(outputs('FIrstEmailUpdate')?['body/Short_Counseling_1'],True),'Short Counseling',''),
if(equals(outputs('FIrstEmailUpdate')?['body/ZeroUnits_1'],True),'Zero Units',''),
if(equals(outputs('FIrstEmailUpdate')?['body/NegativeMinutes_1'],True),'Negative Minutes',''))

 

Yet a value would not show up for the "Error Type" Approval form...

YesNO3.png

 

 

 

 

 

 

 

 

 

This is frustrating....Need ASSISTANCE!

 

 

 

I have the same question (0)
  • trice602 Profile Picture
    14,780 Super User 2025 Season 2 on at
    Re: Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create_item': The parameter with value '"@items('Apply_to_each')?['Focus_Area']"' in path 'item/Focus_Area0' with type/format 'Integer/int

    Hi @Holly_CMS ,

     

    I'm wondering if 1 or 0 will work for your YES/NO column???

     

     

  • Holly_CMS Profile Picture
    523 on at
    Re: Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create_item': The parameter with value '"@items('Apply_to_each')?['Focus_Area']"' in path 'item/Focus_Area0' with type/format 'Integer/int

    nope. I got it figured out and it's long and complex to explain it here 😕

  • trice602 Profile Picture
    14,780 Super User 2025 Season 2 on at
    Re: Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create_item': The parameter with value '"@items('Apply_to_each')?['Focus_Area']"' in path 'item/Focus_Area0' with type/format 'Integer/int

    Nice!  Yeah after thinking about my reply for a while, I wasn't very confident either.  Happy you got it resolved!

  • Holly_CMS Profile Picture
    523 on at
    Re: Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create_item': The parameter with value '"@items('Apply_to_each')?['Focus_Area']"' in path 'item/Focus_Area0' with type/format 'Integer/int

    Yeah, I will have to have the time to explain in here once my monster project is over with.

     

    So close.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 614 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 401 Moderator

#3
chiaraalina Profile Picture

chiaraalina 282

Last 30 days Overall leaderboard