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 Platform Community / Forums / Power Automate / Flow save failed with ...
Power Automate
Unanswered

Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create_event_(V4)':

(0) ShareShare
ReportReport
Posted on by 2,249

 

Veblitz_4-1671262391219.png

 

 

FLow steps

Veblitz_2-1671262274243.png

Veblitz_3-1671262323343.png

 

 

Categories:
I have the same question (0)
  • Amit_Sharma Profile Picture
    1,569 Super User 2024 Season 1 on at
    Re: Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create_event_(V4)':

    Hi @Veblitz,

    Please Enter Valid Time In start and end Time field of Create event V4 Action Currently you are trying to enter date time both In String Format please use expression for format date time that return by get items action.

     

     

     

    formatDateTime(items('Apply_to_each')?['StartTime'],'yyyy-MM-ddTHH:mm:ss')

     

     

     

     

    Amit_Sharma_0-1671265205598.png

     

     

     

     

     


    Did I answer your question? Mark my post as a solution!
    If you liked my response, please consider giving it a thumb up

     

  • Amit_Sharma Profile Picture
    1,569 Super User 2024 Season 1 on at
    Re: Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create_event_(V4)':

    Hi @Veblitz,

    If you want to Enter date time Both in start and end Field of create event v4 Action, you can use Expression For it because get items Action return date Time in string format, so you have to format date time string to Date time type

     

    formatDateTime(items('Apply_to_each')?['StartTime'],'yyyy-MM-ddTHH:mm:ss')

     

    'StartTime' Is Column name in SharePoint list.

     

    After doing this you are good to go.

  • Veblitz Profile Picture
    2,249 on at
    Re: Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create_event_(V4)':

    Many thanks for the inputs and it worked.

     

    And if we choose Required attendees parameter and i got below error.

     

    Please let me know if you get any idea on the below error

     

    I choose attendees in create event action  and attendees field is the (person multi select yes field in my SharePoint list) so I am getting below error in that step

     

    Veblitz_0-1671269333471.png

    Veblitz_3-1671269493668.png

     

    Complete flow steps

     

     

    Veblitz_2-1671269415504.png

     

     

     

     

  • Verified answer
    Amit_Sharma Profile Picture
    1,569 Super User 2024 Season 1 on at
    Re: Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create_event_(V4)':

    Hi @Veblitz ,

    I have created sample for you.

     

    1. After Get Items Action use initialized Variable Action Set Name and Type.

     

    Amit_Sharma_0-1671276747287.png

     

    2. After That use One More Apply to each (Apply_to_each_2) Action and set value as shown in image.

    Amit_Sharma_1-1671276922264.png

    outputs('Get_items_')?['body/value']?[0]?['Attendees']

     

    3. Inside Apply to each 2 Action Use Append to string variable Action then set expression and semicolon.

    Amit_Sharma_2-1671277054788.png

    Amit_Sharma_3-1671277108402.png

     

    items('Apply_to_each_2')?['Email']

     

    Amit_Sharma_4-1671277156908.png

     

    4. Then Use Variable In final Create Event Action.

    Amit_Sharma_5-1671277252353.png

    Amit_Sharma_6-1671277303600.png

     

    Complete Flow

    Amit_Sharma_7-1671277352920.png

     

    -----------------------------------------------------------------------
    Did I answer your question? Please Mark my post as a solution
    If you liked my response, please consider giving it a thumb up

     

     

     

     

     

     

     

     

     

  • Veblitz Profile Picture
    2,249 on at
    Re: Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create_event_(V4)':

    Many Thanks.

    Unfortunately, i am facing new errors and Please find below error details

    Veblitz_2-1671286304360.png

     

    Veblitz_0-1671286183241.png

     

    Complete flow

    Veblitz_1-1671286218144.png

     

  • Amit_Sharma Profile Picture
    1,569 Super User 2024 Season 1 on at
    Re: Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create_event_(V4)':

    Hi @Veblitz, please share the formatDateTime expression used inside Create event (v4)

  • Verified answer
    Veblitz Profile Picture
    2,249 on at
    Re: Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create_event_(V4)':

    Please refer the below details that's been passed inside formatdate time expression

    formatDateTime(items('Apply_to_each2')?['starttime'],'yyyy-MM-ddTHH:mm:ss')

    formatDateTime(items('Apply_to_each2')?['endtime'],'yyyy-MM-ddTHH:mm:ss')

    Veblitz_0-1671287983931.png

    Veblitz_1-1671288020237.png

     

     

     

  • Amit_Sharma Profile Picture
    1,569 Super User 2024 Season 1 on at
    Re: Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create_event_(V4)':

    Hi @Veblitz 

    Please Enter Valid Action Name in items() Function Instead of formatDateTime(items('Apply_to_each2')?['starttime'],'yyyy-MM-ddTHH:mm:ss')  Please try With This.

     

    formatDateTime(items('Apply_to_each_2')?['starttime'],'yyyy-MM-ddTHH:mm:ss')

     

     

    You are missing underscore Between Apply_to_each and 2. in item() function.

     

    After doing this you are good to go.

  • Verified answer
    Veblitz Profile Picture
    2,249 on at
    Re: Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'item' validation failed in workflow operation 'Create_event_(V4)':

    Brilliant solutions for each level of issue and great support.

     

    Best support and please refer below and my flow ran successfully.

     

    Veblitz_0-1671291200839.png

     

     

    Awesome help

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
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard