Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Suggested answer

Network error when using Patch function: Value must be a data entity record.

(1) ShareShare
ReportReport
Posted on by 2
Hi all,
 
I am new to PowerApps and am still learning here. I have a big table called Members with about 44 columns and so I split up the fields across five screens and five forms. 
When submitting the data, I am getting the runtime error "Network error when using Patch function: Value must be a data entity record. " on the SaveBtn control and I don't know what to change. 
 
I am assuming that in my one of my forms, there are two fields in there that are LookUp Columns from another table called Organization which I am trying to write into Members table (btw I've already linked these two tables - Member and Organization). This could be what's causing the error but I am not sure, I've looked everywhere for a clarity on the issue but I have hit a wall. Please help. 
 
This is my patch function
 
Patch(
    Members,Defaults(Members),
    personalDataForm.Updates,
    spouseDataForm.Updates,
    employmentDataForm.Updates,
    premiumDataForm.Updates,
    paymentDataForm.Updates
);
 
If(
    IsEmpty(Errors(Members)),
    Notify(
        "Record Saved Successfully",
        NotificationType.Success
    ),
    Navigate(PersonalDetails),
    Notify(First(Errors(NiuMembers)).Message),
    NotificationType.Error
   
)
 
Categories:
  • Suggested answer
    Michael E. Gernaey Profile Picture
    40,986 Super User 2025 Season 1 on at
    Network error when using Patch function: Value must be a data entity record.
    Hi
     
    Close your app
    Then
     
    1. Go to the Apps Page on Power Apps .Com
    2. Find your app
    3. Click the ... on its row
    4. Select Details => Monitor
    5. When Monitor Opens
    6. Click Play Published App
    7. Go to the now opened App Tab
    8. Cause the error
    9. Switch to the Monitor Tab
    10. In the Filter (top right) type Error
    11. Find the group of errors 2-4 that will be talking about the error you had (there could be loads of errors you dont even know about, but you want to find the group related to your error)
     
    12. The specific row you want will have 4 Tabs, that are part of the Right Side Fly out window when you click/double click the row
    13. Select the Response Tab (#4)
    14. Expand Header and Body
    Body should tell you exactly whats wrong
     
    Fix it.
     
    You are done.
     
    please mark this as the answer if this helped you.
     
     
     
     
     
     
     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,631 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,991 Most Valuable Professional

Leaderboard