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 Automate / Save errors after runn...
Power Automate
Answered

Save errors after running the flow

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I want to save the contents of the error in case an error occurs, but I couldn't find such a function.

 

Do you know where or how it is saved when an error occurs?

I have the same question (0)
  • Verified answer
    MichaelAnnis Profile Picture
    5,727 Moderator on at

    Set your entire Main flow into an OnBlockError to run an Error subflow. In the subflow, have the commands 1) “Get Last Error” and 2) “Write to text file.

     

    This will get you the last known error, so you can see it in Notepad. 

    Best of luck!

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    If this worked for you, please mark as solution, so others may find this post.

     

    Thanks,

     

    Mike

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 1,027

#2
Valantis Profile Picture

Valantis 815

#3
Haque Profile Picture

Haque 630

Last 30 days Overall leaderboard