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. You don't have permission to create this row

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a PowerApp with SharePoint list as the data source. All users are assigned "member" role @ SharePoint. While submitting the data, some users are facing the error "network error when using patch function. you don't have permission to create this row" whereas some users aren't. How do I resolve this?

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

    Hi @amarnay ,

    I assume "Members" have Contribute permissions (at least) and the list is not restricted to writing only to records they have created ?

  • amarnay Profile Picture
    Microsoft Employee on at

    Yes, see the screenshot. They have the highlighted permissions.

  • WarrenBelz Profile Picture
    153,034 Most Valuable Professional on at

    @amarnay ,

    Second question I asked - are the Item-level permissions (in Advanced Settings) set correctly ?

    WarrenBelz_0-1667857650333.png

     

  • Matts-Apps Profile Picture
    16 on at

    @amarnay I'm facing this same issue, did you find a solution or workaround? 

    All of my users have the correct permissions in the Sharepoint list. When I test the app myself I can add a record but when the users are making a form submission through the PowerApp embedded in Teams, they get the same issue. 


    I've checked other threads for a solution with no success. 

    Solved: Network error when using Patch function: You don't... - Power Platform Community (microsoft.com)

  • glnnhoffman Profile Picture
    9 on at

    @amarnay Were you able to find a solution, by chance? 

     

    I'm dealing with an identical issue, with no pattern between those who do/do not receive the network error. I'm wondering if this is a bug in the current patch function build?

  • davenlh Profile Picture
    15 on at

    same exact issue with my App.  No real reason I can see and I'm leery of changing too much and making something else worse.

  • Matts-Apps Profile Picture
    16 on at

    I encountered this problem a while ago but here are some of the things I changed that might have contributed to a non-error: 

    I had to re-create my SharePoint list columns so that I could use the standard 'form' card elements. If this doesn't work for use case I recommend re-creating the SharePoint site. 

    Make sure that you're not using a dropdown or any lookups that are referring to a list made through MS Lists as these are often limited to the creators "my lists" section, even if the list is shared with people. Since then I have had to migrate the content of my 'my lists' list using PowerShell to a SharePoint site. This might be the cause the error when the users are trying to Patch content sourced from that list.

  • glnnhoffman Profile Picture
    9 on at

    @davenlh In case it helps, I ended up using a power automate flow as a workaround to avoid the random patch function error. Because the flow is executed on my account, it prevents the error that seemed to be created by the SP list data source.

     

    I used the PowerApps trigger for the flow, created a list item, and then added code to the submit button's OnSelect parameter to run the flow (called flow_requests). I've added the code below, along with a screenshot of my flow. All the variables are specific to my app, the only detail to note is that the number of parameters in the flow must match the number of variables populated in your OnSelect code, and be in the same order. I also linked a helpful video.

    https://youtu.be/gwmufQ4Gabs 

     

    Code added to OnSelect (In Power App)

    flow_requests.Run(Concatenate(User().Email, Text(Today(), "[$-en-US]yyyy-mm-dd")), User().Email, If(IsBlank(Keyword_Entry.Text), "a", Keyword_Entry.Text), Concat(Topic_Entry.SelectedItems, Interest, ", "), Text(Today(), "[$-en-US]yyyy-mm-dd"), Concat(Source_Entry.SelectedItems, Source, ", "), Start_Date.SelectedDate, End_Date.SelectedDate, "Yes");

     

    MS Flow design

    glnnhoffman_0-1683053247406.png

     

  • Smontego1 Profile Picture
    2 on at

    I am receiving the same error with a Dataverse Table as my datasource.  Does anyone have the solution for this?

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard