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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Invalid number of argu...
Power Automate
Unanswered

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

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 425 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard