Skip to main content

Notifications

Community site session details

Community site session details

Session Id : Iey3U1iaxHHDPydpNUSHYV
Power Apps - Building Power Apps
Unanswered

SubmitForm: Network Error When Using Patch Function

Like (0) ShareShare
ReportReport
Posted on 4 May 2023 16:09:16 by

I'm building an app that connects to a SharePoint list. I have had trouble with it in the past trying to get it to auto-populate and update certain fields, but seemed to find some solution to those issues. Now, however, when I try to submit the form, I am getting the error: "Network error when using Patch function: The requested operation is invalid". I am using a button with the OnSelect property being SubmitForm(Form1).

 

I have attempted reconnecting to the data source and re-making the submit button. In one instance, the submit button worked briefly after being remade. I am not sure where the issue lies at this point or how to troubleshoot further.

  • ahenn22 Profile Picture
    15 on 15 Jul 2024 at 17:31:56
    Re: SubmitForm: Network Error When Using Patch Function

    You can’t just change multi selection from yes to no. Then you need to remove that data card and add it again 

  • fhamm Profile Picture
    on 15 Jul 2024 at 14:33:12
    Re: SubmitForm: Network Error When Using Patch Function

    If you haven't yet, I'd first try refreshing the data in the app and then deleting and re-adding the field that is giving you the error. I'm not sure why, but sometimes rebuilding the part that's having an error fixes the issue.

  • Kunjamina-100 Profile Picture
    2 on 15 Jul 2024 at 14:24:38
    Re: SubmitForm: Network Error When Using Patch Function

    I have the same issue. Initially I have created columns in the list.one of the column was choice column with multi selection then created App and worked very well. after I changed to multi selection in to "No" then apps shows error. Can you support

  • CCJones Profile Picture
    244 on 23 May 2024 at 19:38:46
    Re: SubmitForm: Network Error When Using Patch Function

    Thanks for this! I had this in a few places and was pulling my hair out trying to figure out where the error was coming from! I changed it to use the Office365Users connection instead and the error is now gone!

  • ahenn22 Profile Picture
    15 on 05 May 2024 at 22:04:31
    Re: SubmitForm: Network Error When Using Patch Function

    Please check that you don’t have any calculated fields in your form or patch

  • Stoffel-Thorste Profile Picture
    2 on 05 May 2024 at 12:41:45
    Re: SubmitForm: Network Error When Using Patch Function

    I had the same problem and I looked at countless explanations on the web from all kinds of experts explaining complicated patch syntaxes.

    What solved the problem for me was a setting in my SharePoint list that required unique values. That meant a certain choice could only be selected for one single data set. ... When I deselected, the "unique value" requirement, the PowerApp worked fine. I could easily edit as well as add new data.

    Hope this helps as much as the comments from the experts.

    Keep well

    Thorsten

  • RBettinelli Profile Picture
    23 on 04 Mar 2024 at 19:43:06
    Re: SubmitForm: Network Error When Using Patch Function

    i ended up recreating the app and it got rid of the errors.

  • Shravyashree_01 Profile Picture
    174 Moderator on 03 Mar 2024 at 18:18:30
    Re: SubmitForm: Network Error When Using Patch Function

    This can happen If you are validating User().Email = yourEmail in any of the controls

    or using createdby = user().email [since you would have created the list items]

    If these do not work,

    It would be better if you shared the error for better understanding.

  • RBettinelli Profile Picture
    23 on 01 Mar 2024 at 16:35:06
    Re: SubmitForm: Network Error When Using Patch Function

    I'm having the same problem but only for other uses who are trying my app. I can use it just fine my SharePoint list is populating but other users get errors.

  • TKSHEP Profile Picture
    207 on 29 Nov 2023 at 13:15:22
    Re: SubmitForm: Network Error When Using Patch Function

     I have the same error doing the same function where you able to find a solution for your error?  

    Thank you for any assistant you can provide.

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,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard
Loading started