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 / Get Error Code From An...
Power Automate
Answered

Get Error Code From Any Action of the Flow

(0) ShareShare
ReportReport
Posted on by 2

Hi,

 

I would like to get a notification once the flow ran either successfully or failed on any specific action.

 

I can see lot of recourses for error handling but those only focus on a specific action whereas I would like to know which exact action has failed. 

 

Let me describe from the below snap.

Snap.PNG

 

I know the methods which can report errors only for a specific action let's say, 'Get Unique Emails.' whereas I want that I should get error message if any of the above action fails including sub actions from Apply to Each or Scope.

 

Can anyone please guide how to achieve this please?

 

Thanks,

Akshay

Categories:
I have the same question (0)
  • Verified answer
    v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @AkshayManke ,

     

    Do you want to send email with action error message?

    As far as I know, there is no dynamic content for error message at the moment.

     

    There is a link maybe helpful for you. Grabbing Error Message From Failed Run - Power Platform Community (microsoft.com)

    This method uses JSON and array to get the error message of failed previous action.

     

    Best regards,

    Rimmon

  • Verified answer
    Chriddle Profile Picture
    8,672 Super User 2026 Season 1 on at

    Take look at the result() function

  • AkshayManke Profile Picture
    2 on at

    Many Thanks @Chriddle and @v-mengmli-msft, your suggestions are helped. Accepting as solution. 

     

    Warm Regards,

    Akshay

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 Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard