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: The requested operation is invalid

(1) ShareShare
ReportReport
Posted on by 4

Hai,

 

I have built an app to store user given data to a SharePoint list. I have used the Path function to insert data to the list and it works fine. But recently I have informed that some of the users have facing problems when click on the button to patch data to the list as button is not responding to the click. When checked I got the the following error message "Network error when using Patch function: The requested operation is invalid". It is happening only randomly , 99% times it works perfectly. 

 

The path code is given below. 

 

Patch(
'Site Details', Defaults('Site Details'),
{
Title: SiteNameInput.Text,
'URL Name': SiteURLInput.Text,
'Site Type': {Value: "Extranets"},
Template: {Value: Concat(TemplateSelectedID, TemplateID, "")},
Description: DescriptionInput.Text,
'Client Number': Concat(SearchedClientNo.ClientNo, Text(ClientNo)),
'Matter Number': Concat(MatterListFiltered.Result, Text(Result),","),
Department: Concat(SelectedDepartmentList.Result, Text(Result), ","),
Category: Concat(SelectedCategoryList.Result, Text(Result), ","),
'Requested By':{'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
Department: "",
Claims: "i:0#.f|membership|" & RequesterNameInput.Text,
DisplayName: "",
Email: RequesterNameInput.Text,
JobTitle: "",
Picture: ""
},
Owners: If((SearchClientInput.Text = "0"), Concat(VarSecondaryOwnersList.mail, Text(mail), ";"), Concat(OwnerListFiltered.Result, Text(Result), ";")),
'Notify Owners': SendEmailNotofication.Value,
Status: {Value: "In Progress"}
}
);

 

I have attached the form where the users are entering data.

Screenshot 2023-02-09 075647.png
Categories:
I have the same question (0)
  • EBJ Profile Picture
    5 on at

    I'm having exactly the same problem. An app that didn't give any problems and was already in production, suddenly started to present this problem. With a path of very few fields, it is giving this error to many people. I already checked the security rules, and everything is correct.

     

    I've been searching the internet for hours, and I can't find anything about this error. Did you discover anything new?

  • Tony_G Profile Picture
    4 on at

    No, As of now I couldn't find any solution . I even removed the people or group column which might causing the problem due to the specific format still not working.

  • EBJ Profile Picture
    5 on at

    Updates from tests I've done.

    The app is shared with two "Teams" that contain several users. Correctly assign the Security Roles in both Teams, but without success.

    The only thing that guaranteed me success was:
    -By sharing directly with a specific user (name@domain.com for example), and assigning him the correct Security Roles, the App magically worked normally, without any errors.

    That is, it seems to me that it is something totally related to sharing.

     

    I will try to do tests with more users to see if this solution is repeated.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard