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 / On error option doesn'...
Power Automate
Suggested Answer

On error option doesn't trap all errors ☹️

(0) ShareShare
ReportReport
Posted on by 18
Hi,
 
I think this seems like a bug in PAD, the "On error" option in an action I have configured it to go to next statement if it fails, but when the issue is related to getting variable value it just a throws an error without trapping it:
 
 
 
 
 
The problem is sometimes the variable is empty and it doesn't have any properties, most of the time is not. Is there a better way to deal with this error?
I have the same question (0)
  • Suggested answer
    eetuRobo Profile Picture
    4,522 Super User 2026 Season 1 on at
    Try adding "Capture unexpected logic errors" in your On Block Error
     
     
     
    But I recommend adding If condition instead that checks if that variable is empty.
    Usually you might want the flow to fail on logic errors since that usually means you need to fix something.

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 959

#2
Valantis Profile Picture

Valantis 872

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard