Skip to main content
Community site session details

Community site session details

Session Id : QM0zxUDXHIkqvWc6PelkXX
Power Apps - Building Power Apps
Unanswered

Network error when using Patch function: Conflicts exist with changes on the server, please reload

Like (0) ShareShare
ReportReport
Posted on 28 Feb 2024 20:57:52 by 911 Super User 2024 Season 1

Hi,

 

I am getting the error on my patch - 

 

Patch('data source',
{ID: gblRecordID},
{'Date Change Made': Today() }
);

 

How can I fix this?

  • Ami K Profile Picture
    15,665 Super User 2024 Season 1 on 28 Feb 2024 at 21:36:12
    Re: Network error when using Patch function: Conflicts exist with changes on the server, please reload

    @wonka1234 - avoid "chaining" the Patch and Submit Form functions together.

     

    The Patch statement should be moved on the OnSuccess property of the Form. You can also update the global variable at the same time with:

     

    Set(gblRecordID,
    Patch('data source',
    {ID: gblRecordID},
    {'Date Change Made': Today() }
    ));
  • wonka1234 Profile Picture
    911 Super User 2024 Season 1 on 28 Feb 2024 at 21:23:46
    Re: Network error when using Patch function: Conflicts exist with changes on the server, please reload

    @Amik 

     

    So onselect of a button i do this - 

     

    Patch('data source',
    {ID: gblRecordID},
    {'Date Change Made': Today() }
    );

    SubmitForm(EditForm1_1),

     

    But submit form also does submit this field Date Change Made.

     

    So should i just comment out the Update on this datacard and let the patch do the work?

     

  • Ami K Profile Picture
    15,665 Super User 2024 Season 1 on 28 Feb 2024 at 21:15:54
    Re: Network error when using Patch function: Conflicts exist with changes on the server, please reload

    @wonka1234 - typically this is caused when a change is being made to the same record from two different operations. For example running a Flow prior to the Patch, or submitting different Forms which are corrected to the same list etc.

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

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!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1

Loading complete