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 Specific Action Er...
Power Automate
Answered

Get Specific Action Error Message from Inside Scope

(0) ShareShare
ReportReport
Posted on by 7

I have added multiple actions inside the Scope and would like to get the specific error whichever action gets it. However, I am not able to do that. What I have tried so far after going over different blog posts is that:

 

  1. I found a solution: store error messages to a variable in case the action fails and use that variable to get the error in the further steps that is the catch/finally block but that is not ideal since there are a lot of actions involved.
  2. I tried using compose and parse JSON to get the error message but still could not get the error. 

I am new to Power Automate so not sure what I am doing wrong. Can you please guide me?

 

Maisum_0-1717995774583.png

Maisum_1-1717995823304.png

At the moment, getting error inside the scope in Apply to each.

Maisum_0-1718021394483.png

At the Error Message, I want to show the actual error that I can get at any point in Scope.

Categories:
  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    Can you upload some screenshots please?

     

  • Maisum Profile Picture
    7 on at

    Updated, thanks.

  • SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    Expand the Apply to each action

    and click on the Next failed action

    SudeepGhatakNZ_0-1717996129521.png

     

     

  • Maisum Profile Picture
    7 on at

    I am trying to get the error that can occur with any action inside the scope. I want to access that error message and use it in the Send an Email action to notify. The issue is that I cannot extract the error correctly that I can use in email.

     

    Maisum_0-1718021373141.png

     

  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,396 Most Valuable Professional on at

    @Maisum ,

    This is how I do it.

    SudeepGhatakNZ_0-1718053652936.png

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 430

#2
11manish Profile Picture

11manish 341 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 282

Last 30 days Overall leaderboard