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 |

Report
All responses (
Answers (