Skip to main content
Community site session details

Community site session details

Session Id : xp0oIxaqcnsHsoN5TZ4V9n
Power Apps - Error Handling
Unanswered

[BUG] Error raised when querying dynamic values in the DefaultValue part of the IfError function

Like (0) ShareShare
ReportReport
Posted on 20 Jan 2023 16:54:37 by 166

Hello,

 

I've found a very strange bug with the IfError function. To make it easy to explain and understand, you can test it with the following formula in the OnSelect event of a Button :

 

 

ForAll(
 Sequence(
 1,
 1
 ),
 IfError(
 1 / 1,
 Notify(
 ThisRecord.Value;
 Error,
 1000
 ),
 Notify(
 ThisRecord.Value,
 Information,
 1000
 )
 )
)

 

 

It should display a notification with the text "1". Whereas, it displays the following error message "An error has occured".

 

More generaly, it seems that the DefaultValue of the IfError function can't access the value from a ForAll expression or a With expressions. Have had issues for both of them.

 

Did you have that same issues ?

 

Thanks

 

Categories:

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Featured topics