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 / Help - Network Error W...
Power Apps
Unanswered

Help - Network Error When Using Patch - Calculations in Default Value for Multiple Form Fields

(0) ShareShare
ReportReport
Posted on by 16

Hello, 

I am experiencing an issue with a PowerApp for Teams that I am building. The data processed through the app is stored in DataVerse for Teams. I am experiencing an error where when certain fields are populated on my form after I press the save button which has been programmed to submit the form, I am getting a “Network Error when using patch function: The requested operation is invalid”. I have looked up the ways to solve this error but none are applicable as I am not using an explicit patch function. I’ve done some testing and managed to isolate the issue to when I populate certain fields that have calculations set in the default value property. I’ve tried to outline the fields and the calculations below which when populated are resulting in the patch error. I’m hoping someone might have some advice on what I can do to troubleshoot.

 

My hypothesis is that it has something to do with the fact that I am calculating a default value for 1 field (Net Weight) and then am referencing this value in another calculation in the default value for another field (Difference in Gallons).

 

Thank you kindly

 

Field

Type

Note

Implementation

Outcome

Gross Weight

Numeric

Populated by user

 

 

Tare Weight

Numeric

Populated by user

 

 

Net Weight

Numeric

Derived.

Difference between Gross Weight & Tare

Default value is set to Gross Weight value – Tare Weight

This field functions correctly and the form submits without error

Weight in Gallons

Numeric

Populated by user

 

 

Difference in Gallons

Numeric

Derived only when Weight in Gallons Field is populated. 

Net Weight value / 7.1 – the value entered in the Weight in Gallons field

Default value

 

If(

    !IsBlank(DataCardValue1.Text),

    (Value(DataCardValue4.Text)/7.1) - Value(DataCardValue1.Text),

    Blank()

)

When the field above is populated, the calculation works and displays correctly however the form will not submit and is throwing a Network Error when using patch function: The requested operation is invalid

 

Categories:
  • Jcomf1 Profile Picture
    on at

    Could you please provide the code you have used to submit / patch the data to your Dataverse table?

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 130

Last 30 days Overall leaderboard