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 Automate / Retrieving error from ...
Power Automate
Suggested Answer

Retrieving error from child flows

(1) ShareShare
ReportReport
Posted on by 2
I have a parent flow which calls several child flows dynamically. Whenever a child flow runs into an error, I get the same response regardless of what error actually occurs within the child flow, response being: 
 
{
"error": {
"code": "NoResponse",
"message": "The server did not receive a response from an upstream server. Request tracking id '08584797789640076192787418582CU24'."
}
}
 
I have to then go back and run the failed child flows individually with the relevant inputs to figure out what went wrong. I am wondering if it is possible within the child flow to return the error message to the parent flow, such that I can quickly find out what error occurred rather than running the child flow itself? Each of my flows have a response action at the end returning a status code of 200 on success, but nothing other than that. Thanks in advance for any advice.
Categories:
I have the same question (0)
  • Dieter Gobeyn Profile Picture
    29 on at

    You received the "The server did not receive a response from an upstream server" error because the child flow did not return any response to the parent flow.

    There are two general solutions if you want to perform error handling:

    1. Specific Error Handling (Option 1): For certain shapes where exceptions might occur, perform specific error handling using the run-after: failed configuration and return this response to the parent flow.
    2. Try/Catch Method (Option2): At the end of the flow, catch all errors using the run-after: failed configuration and return this response to the parent flow.

    Attached an image for basic illustration of where this could fit into your setup:

  • Suggested answer
    abc 123 Profile Picture
    784 Moderator on at
    In every flow, I have a variable called strErrMsg. During the child flow, I trap for errors, and write something into said variable when they occur. 
     
    In the Respond action, send back the strErrMsg to the calling parent Flow, and react accordingly.

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard