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 / UpdateIf Formula Retur...
Power Apps
Unanswered

UpdateIf Formula Returning Error

(0) ShareShare
ReportReport
Posted on by 5,331 Moderator

I migrated an app from one environment to another.

I have two buttons in the app, a Submit (new), and a Submit (edit).

I am getting no errors on the Submit (new; It is using Patch) button.

However, the Submit (edit, using UpdateIf) button is kicking back the following error -
     Name isn't valid. '{0}' isn't recognized.

The UpdateIf, in the original environment is exactly as shown below, has no such error.

Why is the formula generating this error in the new environment?

Power App Submit (edit) Button OnSelect -

Phineas_0-1705035727832.png

 


SharePoint Test List -

Phineas_1-1705035522709.png

 

Categories:
I have the same question (0)
  • timl Profile Picture
    36,785 Super User 2026 Season 1 on at

    Hi @Phineas 

    I suspect that one of the field name/values is incorrect. This might be because the field names in the datasource of your target environment doesn't match the original.

    To diagnose this, I'd comment out each line in your UpdateIf statement one by one to help identify the field that's causing this error.

    Alternatively, you could also try running a Monitor session to see if that reveals any more details.

  • Phineas Profile Picture
    5,331 Moderator on at

    I understand the "comment out". 

     

    What is a "Monitor" session and how is it initiated?

  • timl Profile Picture
    36,785 Super User 2026 Season 1 on at

    Hi @Phineas 

    The link on how to use Monitor is here.

    https://learn.microsoft.com/en-us/power-apps/maker/monitor-overview

    The useful part is the "Debugging canvas apps with Monitor" section.  If you can trace the error, the detail may give you the actual name behind the error "Name isn't valid" which may help you solve this.

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 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard