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 Apps / Error appears in monit...
Power Apps
Unanswered

Error appears in monitor even if error function not reachable

(0) ShareShare
ReportReport
Posted on by 15

We are getting errors falsely reported in the monitor tool. It looks like in certain circumstances, the presence of the Error function within the With function is causing our custom error messages to be reported in the Monitor tool even if the path to Error() is unreachable.

 

This was found to happen in versions 3.24032.18, 3.24031.25, 3.24024.18. I was unable to test in any earlier versions.

 

 

// as expected, no error will appear in the monitor tool
// because Error() is only called in the path that cannot be reached
If(false, Error("something went wrong"));

// same as bove - no error will appear in the monitor tool
With(
 {
 val: "zero"
 },
 If(false, Error("divide by " & val))
);

// but here an error DOES appear in the monitor tool
// even though it should be impossible
With(
 {
 val: "zero"
 },
 If(false, Error("something went wrong... huh??"))
);

 

 

davidjenkins_0-1710436003053.png

 

Categories:
I have the same question (0)

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 494

#2
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#3
11manish Profile Picture

11manish 323

Last 30 days Overall leaderboard