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

Notifications

Announcements

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,204 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard