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

Invalid number of arguments in Power App that invokes Logic App

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Exported the logic app to power app and a custom connector was created.


1. As per The api-version query parameter (?api-version=) is... - Power Platform Community (microsoft.com) I have updated the swagger withe the QUERY parameters
2. Created the connection from the connectors page

3. Opened the connector again, and in 'Test' tab tested it and worked perfectly fine.

1. Opened Power App
2. Added in Data Source the connection

3. Added the call to the logic app when pressing a button

'la-.......-int'.manualinvoke(
//these parameters are from HTTP POST URL of logic app: api-version, sp, sv, sig
"2016-10-01", "/triggers/manual/run", "1.0", "......",
 {
 id: Value,
 source: "INT"
 }
)

and the app is invalid, due to the number of arguments 5, instead of 0-1

I removed the query parameters and of course when executing it fails as no api-version was provided.

What did I miss?

Categories:
I have the same question (0)
  • Verified answer
    mih Profile Picture
    Microsoft Employee on at

    now had to provide the parameters like this

     

     'la-...-int'.manualinvoke(
     {
     'api-version':"2016-10-01",
     sp:"/triggers/manual/run",
     sv:"1.0",
     sig:"....",
     id:Value,
     source:"int"
     } 
     )

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard