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 / 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:
  • WarrenBelz Profile Picture
    156,532 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard