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 / Network error when usi...
Power Apps
Unanswered

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

(0) ShareShare
ReportReport
Posted on by 32

I have a Power Apps canvas app for tracking rate changes. The user goes to a SharePoint list and double-clicks on a row to open the custom form. We have a Flow that detects a change to the Step field. If the user selected Step 1, a Step 1 Date field if blank is populated with today's date. If the user selected Step 2, the Step 1 Date field and Step 2 Date fields if blank are populated with today's date. And so on, up to Step 13. We wanted to avoid having to manually update date fields constantly and be able to record when each Step was selected. The form has all the Date fields in case the user wants to manually change any of them.

 

The problem is that the Flow updates the data on the backend but the user's front end is not refreshed. If you open the form again the date fields are not updated. And if you try to make a change and Save the data you will get this ugly error "Network error when using Patch function; Conflicts exist with changes on the server, please reload." When the error disappears, any changes the user made on the form also disappear and then the data refreshes automatically. But they will have to retype all of their changes in the form again.

 

I've tried adding Refresh('Data Source Name') to the Screen OnVisible and App OnStart events but it doesn't have any effect on data when opening the form and entering edit mode. I know I'm not the only one with this error but haven't yet found a solution. Anyone have any ideas on how to circumvent this problem without having to discard the Date field functionality altogether?

 

rate-ops-error.png

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,084 Most Valuable Professional on at

    Hi @mitchellrenner ,

    Your process has the fundamental flaw of having a potentially non-current version of a record "live" on a Form that can be submitted (I know I am stating the obvious). It is always a challenge to manage current data when it is being changed outside the app. Firstly, what is the Items of the Form - you need it pointing at the Data Source directly like

    LookUp(
     DataSource,
     ID = YourGalleryName.Selected.ID
    )

    then you could possibly set a timer when you run the Flow with a Refresh(DataSource) OnTimerEnd

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • mitchellrenner Profile Picture
    32 on at

    I think the fundamental flaw is me not having read a book on Power Apps development yet! We basically just had the SharePoint list generate the customized form in Power Apps without any additional changes, but that clearly is not enough, we need to be able to add additional programming.

    Thanks again Warren - will take a look at your suggestion and respond later with the conclusion.

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard