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 / Internal Error in the ...
Power Apps
Unanswered

Internal Error in the the IfError function: TypeError: e.replace is not a function

(0) ShareShare
ReportReport
Posted on by 174

The formula

 

Set(_contact, LookUp(Contacts, Email = Lower(User().Email)));

 

throws the following error (if error handling is enabled),

image.png

while the following code (which does the same but in 2 steps) works without error and returns the record

 

Set(_user, User());
Set(_contact, LookUp(Contacts, Email = Lower(_user.Email)));

 

It looks like the Lower function has a hiccup.

This appears in all environments (US and EUROPE based) with all available Studio versions.

 
Session ID: 6000e8bc-ab83-44f5-b4cc-50b46ee32fb7

Categories:
I have the same question (0)
  • TxH Profile Picture
    174 on at

    Microsoft has confirmed it as a bug today.

    The id for the corresponding support case is #2209290050001406.

    The bug only came up by accident, as it is not necessary to use the Lower() function for User().Email, as the query is case insensitive.
    Nevertheless, the formula should return a correct value and not crash.

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard