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 / Power Apps - Error on ...
Power Apps
Unanswered

Power Apps - Error on parameter to Run function (Invalid argument type (Text). Expecting a Record Value instead.

(0) ShareShare
ReportReport
Posted on by 2

I am trying to call a Power Automate flow from within my Power App. I get the error "Error on parameter to Run function (Invalid argument type (Text). Expecting a Record Value instead" when I try to input the third parameter. The third parameter is defined in my PA flow as text. I have removed the flow from the app, deleted and re-added the Power Apps V2 trigger in the flow, and re-added the flow to the Power App, and I'm still getting the error.

 

When I searched for information on the error, the only results I found were how to resolve the error: "Error on parameter to Run function (Invalid argument type (Record). Expecting a Text Value instead" (which is the opposite of the error I'm getting.

 

Has anyone encountered this error, and how did you get past it.

Categories:
  • tas_ranson Profile Picture
    40 on at

    I have the exact same error and have wasted close on a whole day trying to resolve this.  My second parameter is optional, and was originally a date, but in frustration re-did the underlying flow and made the second parameter text, but now getting the exact error you are getting.  I have tried formatting the second parameter using the Text function, passing it as a date, etc all with no change (other than the error message changes from 'Text' to 'Date' depending on the data type I try to pass in.   So frustrating. 

  • tas_ranson Profile Picture
    40 on at

    The only way I resolved this in the end was to make the parameters required, and deal with passing in an empty string in the Flow.

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 354 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard