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 Apps / The function 'Run' has...
Power Apps
Suggested Answer

The function 'Run' has an invalid value for parameter 'text' - a blank value was passed

(1) ShareShare
ReportReport
Posted on by 12
I have a powerapp it is a form that connects to list. 
 
When I press submit it sends to list AS WELL AS starts a power automate flow which populates a word document. 
Using this at a basic level onselect
FLOWNAME.Run(DataCardValue140.Text)
 
Normally works fine. 
 
Now for some reason is the DataCardValue is prepopulated (i.e. app user is not entering information) it works. 
BUT if information is added it keeps saying the below 
 
FLOWNAME.Run failed: The function 'Run' has an invalid value for parameter 'text' - a blank value was passed to it where it was not expected. Please make sure that a valid argument is passed to the function
 
If I grab another text box and set it's text property to the datacardvalue.text and then use that text box in the FLOWNAME.Run(textbox.text) it WORKS 
 
But this is so long! I don't understand why it does not seem to be recognising text when entered normally??
 
  • The list enters text just fine 
  • The list all have single line of text 
  • It worked fine before 
  • it is driving me NUTS
Categories:
I have the same question (0)
  • Daniel Bocklandt Profile Picture
    5,099 Super User 2025 Season 2 on at
    Could you try to put the DatacardValue140.Text into a Label just to be sure that everything is as you expect it. 
     
  • Suggested answer
    MK-07081211-0 Profile Picture
    12 on at
    Yes I have tried this and it all comes through as expected. 
     
    And when I use that label to run the flow it works. 
     
    But this is just so much to do and more error prone 
  • Daniel Bocklandt Profile Picture
    5,099 Super User 2025 Season 2 on at
    Okay yes I get that, it was just to be sure that there wasn't something changing the input inbetween. 
     
    Could you try And change in Power automate that it is not required and test it once? That way we can see what Power automate recives
     
  • MK-07081211-0 Profile Picture
    12 on at
    Sorry I do not understand?
     
    Try and change what in power automate?
  • Daniel Bocklandt Profile Picture
    5,099 Super User 2025 Season 2 on at
    In power automate you have in your trigger defined that there shoul dbe text comming from you app. 
    Something like this 
    Coudl you send a Screenshot from this and from the code of the Button that triggers the flow. 
     
  • MK-07081211-0 Profile Picture
    12 on at
    Thanks for trying to look into this
     
    Here is code from power app button (patch works fine it is just the run at the bottom)
     
    And flow is expecting text yes :(
     
     
     
  • Daniel Bocklandt Profile Picture
    5,099 Super User 2025 Season 2 on at
    Could you try an dmove up the movie.Run action. 
     
    right now it is running after the navigate and all the resets. 
     
    could you try to let it run after the Patch. 

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard