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
Suggested Answer

Network error when using Patch function: An error occurred on the server - SubmitForm

(1) ShareShare
ReportReport
Posted on by 126
I receive the error on SubmitForm() - May i know what is causing the error? I tried debugging using live monitor but its not helpful. I tried also adding code in App Error property but the error message is not meaningful. May i know how to solve this error?
 
Network error when using Patch function: An error occurred on the server.
 
I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    3,333 on at
    The error message:

    "Network error when using Patch function: An error occurred on the server"
     
    is usually a generic Power Apps error that hides the actual root cause. In most cases, the issue is related to data validation, schema mismatches, permissions, or backend constraints, not the network itself.

    Don't focus on the "network error" text—it is usually misleading. The quickest path to the root cause is to capture FirstError.Message and inspect Errors(DataSource) immediately after the failure. Those typically reveal the exact field or validation rule causing the submit to fail.
  • Suggested answer
    SamTimothy Profile Picture
    10 on at

    This error is not actually a network issue. It usually means the data source is rejecting the submit.

    Most common causes: Missing required field / Wrong data type (e.g., text vs number/date/lookup) / Trying to update a read-only or calculated column / Duplicate value in a unique column. To see the real error, add this: "Notify(Form1.Error, NotificationType.Error)"

  • WarrenBelz Profile Picture
    155,838 Most Valuable Professional on at
    Check the Update property of all of your Data Cards - one (or more) of them is probably sending a value not compatible with the field being written to. Try commenting them out (all but one), submitting the Form and then bringing them back in one at a time until it breaks.
     
    Please Does this answer your question 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 answering Yes to Was this reply helpful? or give it a Like
    Visit my blog
    Practical Power Apps    LinkedIn  
     
     
  • Suggested answer
    MS.Ragavendar Profile Picture
    7,431 Super User 2026 Season 1 on at
     
    What is the backend you have used? 
     
    The values to the backend are passing as per the schema? This error is happened due to mismatch of datatype between the PowerApps to Target Database. 
     
    There might be one column which is causing the issue. Kindly share the Power Fx formula and screenshot of the schema which will help us to isolate the issue.
     
    Note : If the schema is sharepoint just check is there any required field columns and whether you are passing the value to the column.
     
    Note : If the schema is SQL, ensure the Identity column exists in the backend.
     
    ✅If this helped, please Accept as Solution to help others ❤️ A Like is appreciated 🏷️ Tag @MS.Ragavendar for follow-ups.
     
  • WarrenBelz Profile Picture
    155,838 Most Valuable Professional on at
    A quick follow-up to see if you received the answer you were looking for. Happy to assist further if not.
     
    Please Does this answer your question 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 answering Yes to Was this reply helpful? or give it a Like ♥
    Visit my blog
    Practical Power Apps    LinkedIn   

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard