cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kpavlidis
Level: Powered On

Catch flow error in powerapps

Hello i am using a flow inside my powerapps that it runs a web service and based on the response it will give us some errors in order to fix some submiting some data or if everything is good we are going to submit them.

 

I want to catch the case that there is a problem on the service and there is an error in the flow.

So i did go in the http part of the flow and changed or made the URI incorrect. How can i catch this result in powerapps.

 

In flow after http in the case that the http step failed i have set another response step to send back 404 as code but nothing else.

 

What should i do in flow and powerapps?

1 REPLY 1
Highlighted
Community Support Team
Community Support Team

Re: Catch flow error in powerapps

Hi @kpavlidis,

Could you please share a screenshot about your flow's configuration?
Do you want to catch the flow error within PowerApps?

If you want to catch the flow error within PowerApps, I afraid that there is no way to achieve your needs in PowerApps currently.

As an alternative solution, you could consider take a try to catch the flow error within your flow itself. You could consider configure a "Configure run after" action (Error Handling Steps) for the specific action where the error occurs within your flow, if the specific action runs successfully, send a normal response to your app, if the error occurs, send a default response to your app.

The user @JamesM has faced similar issue with you, please check my response to this issue within the following thread:

https://powerusers.microsoft.com/t5/General-Discussion/How-to-handle-a-Server-Error-500-from-calling...

More details about adding/setting a "Configure run after" action within a flow, please check the following blog:

https://flow.microsoft.com/en-us/blog/error-handling/

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.