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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / The method 'Run' has a...
Power Apps
Unanswered

The method 'Run' has an invalid value for parameter 'Createitem_FailedItems'

(0) ShareShare
ReportReport
Posted on by 165

Hi! I was following Shane Young's video about attaching images as attachments in Sharepoint List. I'm pretty sure I followed everything correctly but for some reason I encountered an error. How can I fix this? Thank you.

 

For reference, here's Shane Young's link to the video: https://www.youtube.com/watch?v=K74UFYgrKB4
Screenshots:

 

error1.pngerror2.PNG 

 

 

Categories:
  • CU22040918-0 Profile Picture
    195 on at

    Hi @_maaaaavs_ ,

     

    error message says that error is occurred on FailedItems property of flow.

     

    What’s the data type of that field?

    Also please share the flow prompt which is helpful to check flow input parameters type.

     

    Nelson

  • _maaaaavs_ Profile Picture
    165 on at

    Thank you for your reply, @NelsonYan

    a) Since "Title2_4" is a text label, the data type is Text.
    b) Is this what you mean by flow prompt? 😅 I just clicked "Ask in Powerapps" 


    error3.png  


  • CU22040918-0 Profile Picture
    195 on at

    Hi @_maaaaavs_ 


    a) I’m wondering the field data type in sharepoint! Is it also Text type? 

    B) prompt is the editor suggestion displayed when you enter Pogi.run( 

    prompt will show the properties that flow required and their allowed data types, it will help you check if the flow input parameters is in the right order and right type

     

    Nelson

  • _maaaaavs_ Profile Picture
    165 on at

    Hi, @NelsonYan 

    a) Yes. "Failed Items" column in sharepoint is a single line of text.
    b)  I think I did it in the correct order and type.
    error4.png

  • CU22040918-0 Profile Picture
    195 on at

    Hi @_maaaaavs_ 

     

    That’s weird! Didn’t find anything incorrect!

     

    Try to refresh flow in App studio or change to PowerApps V2 trigger and define the parameters explicitly.

     

    Hope this help.

     

    Nelson

  • vvshameer Profile Picture
    36 on at

    We have implemented the same in a slightly different way;

    1. The Power Automate input fields are created on trigger(Power App(v2)); Make sure to mark all fields are mandatory (atleast for this to work)

    vvshameer_0-1679490188085.png

     

    2. Pass binary and other metadata info as below;

    vvshameer_2-1679490385711.png

    Highlighted the Flow Parameters and Values in yellow.

     

    Note: For optional parameters on Flow, the way value has to be passed in different

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard