web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Error with Patch() fun...
Power Apps
Unanswered

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard