Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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
  • DBO_DV Profile Picture
    4,536 Super User 2025 Season 1 on at
    The function 'Run' has an invalid value for parameter 'text' - a blank value was passed
    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. 
  • MK-07081211-0 Profile Picture
    12 on at
    The function 'Run' has an invalid value for parameter 'text' - a blank value was passed
    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 :(
     
     
     
  • DBO_DV Profile Picture
    4,536 Super User 2025 Season 1 on at
    The function 'Run' has an invalid value for parameter 'text' - a blank value was passed
    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
    The function 'Run' has an invalid value for parameter 'text' - a blank value was passed
    Sorry I do not understand?
     
    Try and change what in power automate?
  • DBO_DV Profile Picture
    4,536 Super User 2025 Season 1 on at
    The function 'Run' has an invalid value for parameter 'text' - a blank value was passed
    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
     
  • Suggested answer
    MK-07081211-0 Profile Picture
    12 on at
    The function 'Run' has an invalid value for parameter 'text' - a blank value was passed
    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 
  • DBO_DV Profile Picture
    4,536 Super User 2025 Season 1 on at
    The function 'Run' has an invalid value for parameter 'text' - a blank value was passed
    Could you try to put the DatacardValue140.Text into a Label just to be sure that everything is as you expect it. 
     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,017 Most Valuable Professional

Leaderboard