web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - General Discussion
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.

I have the same question (0)
  • SudeepGhatakNZ Profile Picture
    14,381 Most Valuable Professional on at
    Re: Get Specific Action Error Message from Inside Scope

    Can you upload some screenshots please?

     

  • Maisum Profile Picture
    7 on at
    Re: Get Specific Action Error Message from Inside Scope

    Updated, thanks.

  • SudeepGhatakNZ Profile Picture
    14,381 Most Valuable Professional on at
    Re: Get Specific Action Error Message from Inside Scope

    Expand the Apply to each action

    and click on the Next failed action

    SudeepGhatakNZ_0-1717996129521.png

     

     

  • Maisum Profile Picture
    7 on at
    Re: Get Specific Action Error Message from Inside Scope

    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,381 Most Valuable Professional on at
    Re: Get Specific Action Error Message from Inside Scope

    @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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 659 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 386 Moderator

#3
chiaraalina Profile Picture

chiaraalina 290

Last 30 days Overall leaderboard