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 / Invalid number of argu...
Power Apps
Answered

Invalid number of arguments

(0) ShareShare
ReportReport
Posted on by 62

Hi everyone,

 

I am facing an issue with triggering the Power Automate flow via Power Apps.

My flow functions to create items in a SP list and it uses 16 inputs with 5 required and the rest optional.

I structured it like this because depending on the input for 1 of the required fields, additional info will be needed to create the item. When I tried running coding it into the PowerApps, I received an error where it receives 16 arguments but expects 5-6.

Is there a way to make it increase the expectation limit to match the number of inputs without making the inputs required?

Categories:
  • WarrenBelz Profile Picture
    156,756 Most Valuable Professional on at

    Hi @RickyT ,

    You are welcome to post here, but this seems to be a Power Automate question and you will probably get a quicker response from the experts over at the Power Automate Community

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • RickyT Profile Picture
    62 on at

    Hi @WarrenBelz,

     

    Thanks for the tip, will be posting there as well.

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @RickyT ,

     

    Since all 16 values are from your App, in your flow you will use dynamic contents from PowerApps trigger 16 times, that's why you need 16 input fields required to trigger the flow.

     

    You can validate inputs in your App with 11 If statements, when they are non-required fields and don't need values, set input fields with Blank().

     

    Best regards,

  • Verified answer
    RickyT Profile Picture
    62 on at

    Thanks again to both @v-jefferni and @WarrenBelz for the help. The Power Automate forums community was able to help with the solution.

     

    For future users: you can refer to this link if it can help with your issues Solved: Re: PowerApps - Power Automate Flow: Invalid numbe... - Power Platform Community (microsoft.com)

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard