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 Automate flow ru...
Power Apps
Answered

Power Automate flow runs from PowerApp but returns an error

(1) ShareShare
ReportReport
Posted on by 114
Hi everyone,
 
Thanks for your suggestions!
 
I've re-created the flow using the exact same steps as before (literally copied and pasted each action) and now it is working perfectly. I suspect the original flow was corrupted somehow. 
 
I've included additional comments below for anyone else that stumbles across this strange fake error in the future.
 
There were no actual errors within the flow. The flow ran exactly as expected. The app was correctly triggering the flow and then incorrectly showing an error. 

@WarrenBelz
For testing purposes I removed the more time consuming actions. Even with async response enabled for the 'Respond to a Power App or flow' action and the flow completing in 23 seconds I was still getting this error message. 
I already had my Flow.Run() function inside a Set function. The issue I was having was the error thrown by the app was preventing the Set function from running, so the value of 'result' was never available. 
There was never any Contract schema anywhere in the app or flow. It was just a random and unhelpful error message.
 
 
*** Original Post ***
 
Hi everyone,
 
I have a flow that is successfully triggered from a PowerApp. The flow needs about an hour to complete. Immediately after the flow is triggered, it responds to the app with a status of "Success".

 
I have functions in my app that should only run if the flow responds with the status "Success". The issue I am having is that even though the flow runs, an error notification appears in the app. The error is:
MyFlowName.Run failed: Contract failure: Unspecified
 
None of the functions after the Run() function are triggered because of the error. 
 
I can't check the output of the Live Monitor because the flow uses data saved locally on the user's device.
 
I used this flow many times previously without any errors. But since this error started it has been happening in 100% of cases.
 
I (think) I have tried all the obvious things:
  • Refresh the flow in the app
  • Remove and re-add the flow in the app
  • Tested with a new basic flow (no issues)
 My next step is to re-create the flow entirely. I thought I would see if anyone here has better ideas. Re-creating it is not a big deal, but I am worried that may not solve the problem and I will be back where I started.
 
Thanks in advance for your ideas and suggestions!
Categories:
I have the same question (0)
  • MS.Ragavendar Profile Picture
    6,324 Super User 2026 Season 1 on at
     
    Can you show the flow run error details which block it got failed
  • WarrenBelz Profile Picture
    154,795 Most Valuable Professional on at
    This article suggests that if the response is not received in two minutes, power apps will time out and error. This has also been my experience when a flow fails, so I do not think it will wait for an hour.
     
    Please ✅ Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful?
    Visit my blog
    Practical Power Apps    LinkedIn  
  • Vejai SH Profile Picture
    560 on at

    Hi @kat_rock,
     
    What I understood is Power Apps is expecting a contract schema from Power Automate flow.
     
    Please check your Power Apps and change like 
    Set(result, MyFlow.Run());
    If(result.flowTriggerStatus = "Success", Notify("Flow executed successfully"))

     
    Thanks, 
    Vejai SH  
     
    Please mark as answer if my suggestion helps you
     
  • Verified answer
    kat_rock Profile Picture
    114 on at
    The solution was to re-create the actions in a new 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

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard