I am trying to patch an offline collection into my Dataverse table once connected to the internet. In power apps editor it does not show any errors, but in the phone app it does? The error on the phone app displays as "Network error when using Patch Function. The requested operation is invalid." Here is my patch code that I am using. Any help would be deeply appreciated. Thanks in advance.
ForAll(myOfflineFuelRecords,
Patch(
EquipmentDailyFuelLogs,
Defaults(EquipmentDailyFuelLogs),
{
xxxxx_title: Title,
xxxxx_assetphoto: AssetPhoto,
xxxxx_dateandtime: DateAndTime,
xxxxx_equipmentcategory: EquipmentCategory,
xxxxx_equipmentdescription: EquipmentDescription,
xxxxx_fueltype: FuelType,
xxxxx_gallonsofcoolant: GallonsOfCoolant,
xxxxx_gallonsofdef: GallonsOfDEF,
xxxxx_gallonsoffuel: GallonsOfFuel,
xxxxx_gallonsofhydoil: GallonsOfHydOil,
xxxxx_gallonsofmotoroil: GallonsOfMotorOil,
xxxxx_hoursmileage: HoursMileage,
xxxxx_jobsitechoices: JobsiteChoices,
xxxxx_loclatitude: locLatitude,
xxxxx_loclongitude: locLongitude,
xxxxx_otherjobsite: OtherJobsite,
xxxxx_serialnovin: SerialNoVIN,
xxxxx_servicetech: ServiceTech
}
)
);