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 with Patch() fun...
Power Apps
Answered

Error with Patch() function

(0) ShareShare
ReportReport
Posted on by

Hi Sirs, I'm on this problem since 2 days, I don't understand for why I can't Submit my Form, each submit form make me this error while 2 days it worked very well...I haven't changed anything...

can you tell me what to check to fix this problem ? 

thank you very much to whoever takes the time to help me 🙏

 

Here my error message : 

ProtoSup_0-1689747057182.png

 

Categories:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @ProtoSup ,

     

    Sorry, could you explain the error message in English? 

     

    Best Regards,

    Wearsky

  • ProtoSup Profile Picture
    on at

    @v-xiaochen-msft 
    Yes sorry, im' in french mode. 

    Here is in Enlgish :  Network error while using the Patch function: The requested operation is invalid

    Thanks

  • Sanshubh Profile Picture
    512 on at

    @ProtoSup 
    Can you share code where you are getting error.

  • ProtoSup Profile Picture
    on at

    @SanshubhLubal yes of course, 

    ProtoSup_0-1689748182888.png<

    editValidateIcon : 

    ProtoSup_1-1689748233457.png

     

    and his code : 

    ProtoSup_2-1689748254106.png

     

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @ProtoSup ,

     

    Thanks. Please try to follow the steps to catch the error details.

    vxiaochenmsft_0-1689748361769.png

    //Use iferror() function to catch error details and save it in a variable

     

    vxiaochenmsft_1-1689748408545.png

    // Show the error message in a label

     

    In your case , you can try to use the formula like - IfError(SubmitForm(...),Set(var,AllErrors))

     

    Best Regards,

    Wearsky

  • ProtoSup Profile Picture
    on at

    ok I try this right now, thanks

  • ProtoSup Profile Picture
    on at

    @v-xiaochen-msft 
    I don't understand, why the error said me value for field 'Prix' = 2.5, we can see the value = 100 ... thank you for thid start, we can see better the error ...

    ProtoSup_0-1689750048892.png

     

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @ProtoSup ,

     

    Thanks, please share the formula of Update property of the datacard control.

    vxiaochenmsft_0-1689750266097.png

     

    Best Regards,

    Wearsky

  • ProtoSup Profile Picture
    on at

    @v-xiaochen-msft 

    That !? 

    ProtoSup_0-1689750504628.png

    Thanks again 

  • v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @ProtoSup ,

     

    Which one control is called 'DataCardValue10' in your screen?

    vxiaochenmsft_0-1689750887727.png

     

    Besides, remove the Value function in update formula.

    vxiaochenmsft_1-1689750940826.png

     

    Best Regards,

    Wearsky

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