Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Submit form leads to " network error when using patch function the requested operation is invalid

(2) ShareShare
ReportReport
Posted on by 77

Hello everyone,

 

I have built a canvasapp using a sharepoint list for all fields for the form of the app.

When I submit the form I get the error: network error when using patch function the requested operation is invalid.

 

However the data is written to the sharepoint list as if it is working correct.

After submiting the form, the app sends several emails with the submitted data by using form.lastsubmit.field to access the data.

In the form where I get the error, the email is sent without any data.

 

I do not use the patchfunction directly( I think submitting the form uses the function.)

There are other smaller forms working perfect.

 

Screens of the email are attached.

 

Thank you for your help in advance

 

Code:

SubmitForm(KomplettreiseForm)&

Office365Outlook.SendEmailV2(
User().Email;//Zielemail
//If(KomplettreiseForm.LastSubmit.Gesellschaft.Value="XXXXXXXX";"XXXXXXX@XXXXXXX.com";"XXXXXXXX";"XXXXXXX@XXXXXXX.com");//Zielemail
Gallery3.Selected.Title & " Anfrage zum Stichtag: " & KomplettreiseForm.LastSubmit.Komplettreisedeadline;//Betreffzeile
//Allgemein
"<b>Allgemeine Infos<br><br></b>"&

"<b>Gesellschaft: </b>"& KomplettreiseForm.LastSubmit.Gesellschaft.Value&"<br>"&
"<b>Vorgesetzter: </b>"& KomplettreiseForm.LastSubmit.'Vorgesetzter/Teamleiter'.DisplayName&"<br>"&
If(!IsBlank(KomplettreiseForm.LastSubmit.Geburtsdatum);"<b>Geburtsdatum: </b>"& KomplettreiseForm.LastSubmit.Geburtsdatum&"<br><br>";"")&
//Mietwagen
If(KomplettreiseForm.LastSubmit.MietwagenAnfrage="ja";"<b>Infos zum Mietwagen<br><br></b>";"")&

If(MietwagenCheckBox.Value&DetailsZurAbholung.Selected.Value="Das Auto soll zu folgender Adresse zugestellt werden"&!IsBlank(KomplettreiseForm.LastSubmit.'Zustelladresse oder Abholadresse');
"<b>Das Auto soll zu dieser Adresse zugestellt werden: </b>"& KomplettreiseForm.LastSubmit.'Zustelladresse oder Abholadresse'&"<br>";
If(MietwagenCheckBox.Value&DetailsZurAbholung.Selected.Value="Selbstabholung beim Autovermieter"&!IsBlank(KomplettreiseForm.LastSubmit.'Zustelladresse oder Abholadresse');"<b>Das Auto wird bei dieser Adresse abgeholt: </b>"& KomplettreiseForm.LastSubmit.'Zustelladresse oder Abholadresse'&"<br>";""))&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Handynummer für die Zustellung'); "<b>Handynummer für die Zustellung: </b>"& KomplettreiseForm.LastSubmit.'Handynummer für die Zustellung'&"<br>";"Es wurde keine Handynummer angegeben<br>")&


If(RückgabeortCheckbox.Value&MietwagenCheckBox.Value;"<b>Gleicher Rückgabeort</b><br>";If(KomplettreiseForm.LastSubmit.'Details zur Rückgabe'.Value="Rückgabe beim Autovermieter";"<b>Auto wird bei Autovermieter bei folgender Adresse zurückgegeben: <b/>"&KomplettreiseForm.LastSubmit.'Adresse Rückgabe'&"<br>";If(KomplettreiseForm.LastSubmit.'Details zur Rückgabe'.Value="Das Auto soll bei folgender Adresse abgeholt werden";"<b>Das Auto soll bei folgender Adresse abgeholt werden: <b/>"&KomplettreiseForm.LastSubmit.'Adresse Rückgabe'&"<br>";"")))&

If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Abfahrt oder Abholung');"<b>Datum Abfahrt bzw. Abholung: <b/>"&KomplettreiseForm.LastSubmit.'Datum Abfahrt oder Abholung'&"<br>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Rückgabe');"<b>Datum der Rückgabe: <b/>"&KomplettreiseForm.LastSubmit.'Datum Rückgabe'&"<br>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.Getriebeart);"<b>Getriebeart: <b/>"&KomplettreiseForm.LastSubmit.Getriebeart.Value&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.Navi);"<b>Navi: <b/>"&KomplettreiseForm.LastSubmit.Navi.Value&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Art des Autos');"<b>Art des Autos: <b/>"&If(KomplettreiseForm.LastSubmit.'Art des Autos'.Value="Anderes";KomplettreiseForm.LastSubmit.'Anderes Auto';KomplettreiseForm.LastSubmit.'Art des Autos'.Value);"")&

If(KomplettreiseForm.LastSubmit.Zweitfahrer;"<b>Name und Geburtsdatum des Zweitfahrers: <b/>"& KomplettreiseForm.LastSubmit.'Name des Zweitfahrers'.DisplayName&", "&KomplettreiseForm.LastSubmit.'Geburtsdatum Zweitfahrer'&"<br><br>";"")&

//Flug
If(KomplettreiseForm.LastSubmit.FlugAnfrage="ja";"<b>Infos zum Flug<br><br></b>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.Abflughafen);"<b>Abflughafen: </b>"& KomplettreiseForm.LastSubmit.Abflughafen&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.Zielflughafen);"<b>Zielflughafen: </b>"& KomplettreiseForm.LastSubmit.Zielflughafen&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Mit Rückflug?');"<b>Mit Rückflug?: </b>"& KomplettreiseForm.LastSubmit.'Mit Rückflug?'.Value&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Hinreise');"<b>Datum Hinreise: </b>"& KomplettreiseForm.LastSubmit.'Datum Hinreise'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Rückreise');"<b>Datum Rückreise: </b>"& KomplettreiseForm.LastSubmit.'Datum Rückreise'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.Begründung);"<b>Flexbegründung: </b>"& KomplettreiseForm.LastSubmit.Begründung&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.Gepäck);"<b>Gepäck: </b>"& KomplettreiseForm.LastSubmit.Gepäck.Value&"<br><br>";"")&

//Bahn
If(KomplettreiseForm.LastSubmit.Bahnanfrage="ja";"<b>Infos zur Bahnbuchung<br><br></b>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.Startbahnhof);"<b>Startbahnhof: </b>"& KomplettreiseForm.LastSubmit.Startbahnhof&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.Zielbahnhof);"<b>Zielbahnhof: </b>"& KomplettreiseForm.LastSubmit.Zielbahnhof&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Wunschverbindung vorhanden');"<b>Wunschverbindung vorhanden: </b>"& KomplettreiseForm.LastSubmit.'Wunschverbindung vorhanden'.Value&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Abfahrt');"<b>Datum Abfahrt: </b>"& KomplettreiseForm.LastSubmit.'Datum Abfahrt'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Ankunft');"<b>Datum Ankunft: </b>"& KomplettreiseForm.LastSubmit.'Datum Ankunft'&"<br>";"")&
If(KomplettreiseForm.LastSubmit.Sitzplatzreservierung;"<b>Sitzplatzreservierung?: </b> Ja<br>")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Ggf. Bereich');"<b>Bereich: </b>"& KomplettreiseForm.LastSubmit.'Ggf. Bereich'.Value&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Ggf. Platz am Gang/Fenster');"<b>Platz am Gang oder Fenster: </b>"& KomplettreiseForm.LastSubmit.'Ggf. Platz am Gang/Fenster'.Value&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Ggf. Tisch');"<b>Tisch: </b>"& KomplettreiseForm.LastSubmit.'Ggf. Tisch'.Value&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Ich besitze eine Bahncard Business');"<b>Ich besitze eine Bahncard Business: </b>"& KomplettreiseForm.LastSubmit.'Ich besitze eine Bahncard Business'.Value&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Ich habe eine private Bahncard');"<b>Ich besitze eine private Bahncard: </b>"& KomplettreiseForm.LastSubmit.'Ich habe eine private Bahncard'.Value&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Meine Bahncard hat folgende Nummer');"<b>Nummer der Bahncard für Punkte: </b>"& KomplettreiseForm.LastSubmit.'Meine Bahncard hat folgende Nummer'&"<br>";"")&
"<br>"&

//Hotel
If(KomplettreiseForm.LastSubmit.HotelAnfrage="ja";"<b>Infos zur Hotelbuchung<br><br></b>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.'Name des Gastes 1');"<b>Name Gast1: </b>"& KomplettreiseForm.LastSubmit.'Name des Gastes 1'.DisplayName&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast1 Anreise');"<b>Anreise Gast1: </b>"& KomplettreiseForm.LastSubmit.'Gast1 Anreise'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast1 Abreise');"<b>Abreise Gast1: </b>"& KomplettreiseForm.LastSubmit.'Gast1 Abreise'&"<br><br>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.'Name des Gastes 2');"<b>Name Gast2: </b>"& KomplettreiseForm.LastSubmit.'Name des Gastes 2'.DisplayName&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast2 Anreise');"<b>Anreise Gast2: </b>"& KomplettreiseForm.LastSubmit.'Gast2 Anreise'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast2 Abreise');"<b>Abreise Gast2: </b>"& KomplettreiseForm.LastSubmit.'Gast2 Abreise'&"<br><br>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.'Name des Gastes 3');"<b>Name Gast3: </b>"& KomplettreiseForm.LastSubmit.'Name des Gastes 3'.DisplayName&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast3 Anreise');"<b>Anreise Gast3: </b>"& KomplettreiseForm.LastSubmit.'Gast3 Anreise'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast3 Abreise');"<b>Abreise Gast3: </b>"& KomplettreiseForm.LastSubmit.'Gast3 Abreise'&"<br><br>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.'Name des Gastes 4');"<b>Name Gast4: </b>"& KomplettreiseForm.LastSubmit.'Name des Gastes 4'.DisplayName&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast4 Anreise');"<b>Anreise Gast4: </b>"& KomplettreiseForm.LastSubmit.'Gast4 Anreise'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast4 Abreise');"<b>Abreise Gast4: </b>"& KomplettreiseForm.LastSubmit.'Gast4 Abreise'&"<br><br>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.'Wunschhotel/Wunschort');"<b>Wunschhotel oder Wunschort?: </b>"& KomplettreiseForm.LastSubmit.'Wunschhotel/Wunschort'.Value&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Postleitzahl oder Ort');"<b>Postleitzahl oder Ort des Hotels: </b>"& KomplettreiseForm.LastSubmit.'Postleitzahl oder Ort'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.Hotelname);"<b>Hotelname: </b>"& KomplettreiseForm.LastSubmit.Hotelname&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Link zur Website des Hotels');"<b>Hotelwebsite: </b>"& KomplettreiseForm.LastSubmit.'Link zur Website des Hotels'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Ort und Straße');"<b>Ort und Straße: </b>"& KomplettreiseForm.LastSubmit.'Ort und Straße'&"<br>";"")&
If(KomplettreiseForm.LastSubmit.Frühstück;"<b>Frühstück?: </b> Ja<br>")&
If(KomplettreiseForm.LastSubmit.Parkplatz;"<b>Parkplatz?: </b> Ja<br>")&

If(KomplettreiseForm.LastSubmit.Sonstiges;"<b>Sonstiges?: </b>"&KomplettreiseForm.LastSubmit.Sonstiges)
)//Mail an Frontdesk
&

Office365Outlook.SendEmailV2(
User().Email;//Zielemail
//KomplettreiseForm.LastSubmit.'Vorgesetzter/Teamleiter'.Email;//Zielemail
Gallery3.Selected.Title & " Anfrage" ;//Betreffzeile

"Liebe/r "&KomplettreiseForm.LastSubmit.'Vorgesetzter/Teamleiter'.DisplayName&","&"<br>"&
"Wir möchten dich darüber informieren, dass "& User().FullName & " bei uns eine ReiseBuchung in Auftrag gegeben hat. <br><br>"&

//Mietwagen
If(KomplettreiseForm.LastSubmit.MietwagenAnfrage="ja";"<b>Infos zum Mietwagen<br><br></b>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Abfahrt oder Abholung');"<b>Datum Abfahrt bzw. Abholung: <b/>"&KomplettreiseForm.LastSubmit.'Datum Abfahrt oder Abholung'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Rückgabe');"<b>Datum der Rückgabe: <b/>"&KomplettreiseForm.LastSubmit.'Datum Rückgabe'&"<br>";"")&
//Flug
If(KomplettreiseForm.LastSubmit.FlugAnfrage="ja";"<b>Infos zum Flug<br><br></b>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.Abflughafen);"<b>Abflughafen: </b>"& KomplettreiseForm.LastSubmit.Abflughafen&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.Zielflughafen);"<b>Zielflughafen: </b>"& KomplettreiseForm.LastSubmit.Zielflughafen&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Hinreise');"<b>Datum Hinreise: </b>"& KomplettreiseForm.LastSubmit.'Datum Hinreise'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Rückreise');"<b>Datum Rückreise: </b>"& KomplettreiseForm.LastSubmit.'Datum Rückreise'&"<br>";"")&


//Bahn
If(KomplettreiseForm.LastSubmit.Bahnanfrage="ja";"<b>Infos zur Bahnbuchung<br><br></b>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.Startbahnhof);"<b>Startbahnhof: </b>"& KomplettreiseForm.LastSubmit.Startbahnhof&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.Zielbahnhof);"<b>Zielbahnhof: </b>"& KomplettreiseForm.LastSubmit.Zielbahnhof&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Abfahrt');"<b>Datum Abfahrt: </b>"& KomplettreiseForm.LastSubmit.'Datum Abfahrt'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Ankunft');"<b>Datum Ankunft: </b>"& KomplettreiseForm.LastSubmit.'Datum Ankunft'&"<br>";"")&
"<br>"&

//Hotel
If(KomplettreiseForm.LastSubmit.HotelAnfrage="ja";"<b>Infos zur Hotelbuchung<br><br></b>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.'Name des Gastes 1');"<b>Name Gast1: </b>"& KomplettreiseForm.LastSubmit.'Name des Gastes 1'.DisplayName&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast1 Anreise');"<b>Anreise Gast1: </b>"& KomplettreiseForm.LastSubmit.'Gast1 Anreise'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast1 Abreise');"<b>Abreise Gast1: </b>"& KomplettreiseForm.LastSubmit.'Gast1 Abreise'&"<br><br>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.'Name des Gastes 2');"<b>Name Gast2: </b>"& KomplettreiseForm.LastSubmit.'Name des Gastes 2'.DisplayName&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast2 Anreise');"<b>Anreise Gast2: </b>"& KomplettreiseForm.LastSubmit.'Gast2 Anreise'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast2 Abreise');"<b>Abreise Gast2: </b>"& KomplettreiseForm.LastSubmit.'Gast2 Abreise'&"<br><br>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.'Name des Gastes 3');"<b>Name Gast3: </b>"& KomplettreiseForm.LastSubmit.'Name des Gastes 3'.DisplayName&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast3 Anreise');"<b>Anreise Gast3: </b>"& KomplettreiseForm.LastSubmit.'Gast3 Anreise'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast3 Abreise');"<b>Abreise Gast3: </b>"& KomplettreiseForm.LastSubmit.'Gast3 Abreise'&"<br><br>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.'Name des Gastes 4');"<b>Name Gast4: </b>"& KomplettreiseForm.LastSubmit.'Name des Gastes 4'.DisplayName&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast4 Anreise');"<b>Anreise Gast4: </b>"& KomplettreiseForm.LastSubmit.'Gast4 Anreise'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast4 Abreise');"<b>Abreise Gast4: </b>"& KomplettreiseForm.LastSubmit.'Gast4 Abreise'&"<br><br>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.'Postleitzahl oder Ort');"<b>Postleitzahl oder Ort des Hotels: </b>"& KomplettreiseForm.LastSubmit.'Postleitzahl oder Ort'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.Hotelname);"<b>Hotelname: </b>"& KomplettreiseForm.LastSubmit.Hotelname&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Link zur Website des Hotels');"<b>Hotelwebsite: </b>"& KomplettreiseForm.LastSubmit.'Link zur Website des Hotels'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Ort und Straße');"<b>Ort und Straße: </b>"& KomplettreiseForm.LastSubmit.'Ort und Straße'&"<br>";"")&

If(KomplettreiseForm.LastSubmit.Sonstiges;"<b>Sonstiges?: </b>"&KomplettreiseForm.LastSubmit.Sonstiges)


&"<br><br><br> Dein Front-Desk Team"
)//Mail an Vorgesetzten
&
Office365Outlook.SendEmailV2(
User().Email;//Zielemail
"Deine" & Gallery3.Selected.Title & " Anfrage" ;//Betreffzeile
"Liebe/r "&User().FullName &","&"<br>"&

"Wir haben deine Anfrage mit folgenden Daten erhalten: <br><br>"&

//Allgemein
"<b>Allgemeine Infos<br><br></b>"&

"<b>Gesellschaft: </b>"& KomplettreiseForm.LastSubmit.Gesellschaft.Value&"<br>"&
"<b>Vorgesetzter: </b>"& KomplettreiseForm.LastSubmit.'Vorgesetzter/Teamleiter'.DisplayName&"<br>"&
If(!IsBlank(KomplettreiseForm.LastSubmit.Geburtsdatum);"<b>Geburtsdatum: </b>"& KomplettreiseForm.LastSubmit.Geburtsdatum&"<br><br>";"")&
//Mietwagen
If(KomplettreiseForm.LastSubmit.MietwagenAnfrage="ja";"<b>Infos zum Mietwagen<br><br></b>";"")&

If(MietwagenCheckBox.Value&DetailsZurAbholung.Selected.Value="Das Auto soll zu folgender Adresse zugestellt werden"&!IsBlank(KomplettreiseForm.LastSubmit.'Zustelladresse oder Abholadresse');
"<b>Das Auto soll zu dieser Adresse zugestellt werden: </b>"& KomplettreiseForm.LastSubmit.'Zustelladresse oder Abholadresse'&"<br>";
If(MietwagenCheckBox.Value&DetailsZurAbholung.Selected.Value="Selbstabholung beim Autovermieter"&!IsBlank(KomplettreiseForm.LastSubmit.'Zustelladresse oder Abholadresse');"<b>Das Auto wird bei dieser Adresse abgeholt: </b>"& KomplettreiseForm.LastSubmit.'Zustelladresse oder Abholadresse'&"<br>";""))&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Handynummer für die Zustellung'); "<b>Handynummer für die Zustellung: </b>"& KomplettreiseForm.LastSubmit.'Handynummer für die Zustellung'&"<br>";"Es wurde keine Handynummer angegeben<br>")&


If(RückgabeortCheckbox.Value&MietwagenCheckBox.Value;"<b>Gleicher Rückgabeort</b><br>";If(KomplettreiseForm.LastSubmit.'Details zur Rückgabe'.Value="Rückgabe beim Autovermieter";"<b>Auto wird bei Autovermieter bei folgender Adresse zurückgegeben: <b/>"&KomplettreiseForm.LastSubmit.'Adresse Rückgabe'&"<br>";If(KomplettreiseForm.LastSubmit.'Details zur Rückgabe'.Value="Das Auto soll bei folgender Adresse abgeholt werden";"<b>Das Auto soll bei folgender Adresse abgeholt werden: <b/>"&KomplettreiseForm.LastSubmit.'Adresse Rückgabe'&"<br>";"")))&

If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Abfahrt oder Abholung');"<b>Datum Abfahrt bzw. Abholung: <b/>"&KomplettreiseForm.LastSubmit.'Datum Abfahrt oder Abholung'&"<br>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Rückgabe');"<b>Datum der Rückgabe: <b/>"&KomplettreiseForm.LastSubmit.'Datum Rückgabe'&"<br>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.Getriebeart);"<b>Getriebeart: <b/>"&KomplettreiseForm.LastSubmit.Getriebeart.Value&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.Navi);"<b>Navi: <b/>"&KomplettreiseForm.LastSubmit.Navi.Value&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Art des Autos');"<b>Art des Autos: <b/>"&If(KomplettreiseForm.LastSubmit.'Art des Autos'.Value="Anderes";KomplettreiseForm.LastSubmit.'Anderes Auto';KomplettreiseForm.LastSubmit.'Art des Autos'.Value);"")&

If(KomplettreiseForm.LastSubmit.Zweitfahrer;"<b>Name und Geburtsdatum des Zweitfahrers: <b/>"& KomplettreiseForm.LastSubmit.'Name des Zweitfahrers'.DisplayName&", "&KomplettreiseForm.LastSubmit.'Geburtsdatum Zweitfahrer'&"<br><br>";"")&

//Flug
If(KomplettreiseForm.LastSubmit.FlugAnfrage="ja";"<b>Infos zum Flug<br><br></b>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.Abflughafen);"<b>Abflughafen: </b>"& KomplettreiseForm.LastSubmit.Abflughafen&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.Zielflughafen);"<b>Zielflughafen: </b>"& KomplettreiseForm.LastSubmit.Zielflughafen&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Mit Rückflug?');"<b>Mit Rückflug?: </b>"& KomplettreiseForm.LastSubmit.'Mit Rückflug?'.Value&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Hinreise');"<b>Datum Hinreise: </b>"& KomplettreiseForm.LastSubmit.'Datum Hinreise'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Rückreise');"<b>Datum Rückreise: </b>"& KomplettreiseForm.LastSubmit.'Datum Rückreise'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.Begründung);"<b>Flexbegründung: </b>"& KomplettreiseForm.LastSubmit.Begründung&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.Gepäck);"<b>Gepäck: </b>"& KomplettreiseForm.LastSubmit.Gepäck.Value&"<br><br>";"")&

//Bahn
If(KomplettreiseForm.LastSubmit.Bahnanfrage="ja";"<b>Infos zur Bahnbuchung<br><br></b>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.Startbahnhof);"<b>Startbahnhof: </b>"& KomplettreiseForm.LastSubmit.Startbahnhof&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.Zielbahnhof);"<b>Zielbahnhof: </b>"& KomplettreiseForm.LastSubmit.Zielbahnhof&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Wunschverbindung vorhanden');"<b>Wunschverbindung vorhanden: </b>"& KomplettreiseForm.LastSubmit.'Wunschverbindung vorhanden'.Value&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Abfahrt');"<b>Datum Abfahrt: </b>"& KomplettreiseForm.LastSubmit.'Datum Abfahrt'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Ankunft');"<b>Datum Ankunft: </b>"& KomplettreiseForm.LastSubmit.'Datum Ankunft'&"<br>";"")&
If(KomplettreiseForm.LastSubmit.Sitzplatzreservierung;"<b>Sitzplatzreservierung?: </b> Ja<br>")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Ggf. Bereich');"<b>Bereich: </b>"& KomplettreiseForm.LastSubmit.'Ggf. Bereich'.Value&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Ggf. Platz am Gang/Fenster');"<b>Platz am Gang oder Fenster: </b>"& KomplettreiseForm.LastSubmit.'Ggf. Platz am Gang/Fenster'.Value&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Ggf. Tisch');"<b>Tisch: </b>"& KomplettreiseForm.LastSubmit.'Ggf. Tisch'.Value&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Ich besitze eine Bahncard Business');"<b>Ich besitze eine Bahncard Business: </b>"& KomplettreiseForm.LastSubmit.'Ich besitze eine Bahncard Business'.Value&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Ich habe eine private Bahncard');"<b>Ich besitze eine private Bahncard: </b>"& KomplettreiseForm.LastSubmit.'Ich habe eine private Bahncard'.Value&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Meine Bahncard hat folgende Nummer');"<b>Nummer der Bahncard für Punkte: </b>"& KomplettreiseForm.LastSubmit.'Meine Bahncard hat folgende Nummer'&"<br>";"")&
"<br>"&

//Hotel
If(KomplettreiseForm.LastSubmit.HotelAnfrage="ja";"<b>Infos zur Hotelbuchung<br><br></b>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.'Name des Gastes 1');"<b>Name Gast1: </b>"& KomplettreiseForm.LastSubmit.'Name des Gastes 1'.DisplayName&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast1 Anreise');"<b>Anreise Gast1: </b>"& KomplettreiseForm.LastSubmit.'Gast1 Anreise'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast1 Abreise');"<b>Abreise Gast1: </b>"& KomplettreiseForm.LastSubmit.'Gast1 Abreise'&"<br><br>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.'Name des Gastes 2');"<b>Name Gast2: </b>"& KomplettreiseForm.LastSubmit.'Name des Gastes 2'.DisplayName&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast2 Anreise');"<b>Anreise Gast2: </b>"& KomplettreiseForm.LastSubmit.'Gast2 Anreise'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast2 Abreise');"<b>Abreise Gast2: </b>"& KomplettreiseForm.LastSubmit.'Gast2 Abreise'&"<br><br>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.'Name des Gastes 3');"<b>Name Gast3: </b>"& KomplettreiseForm.LastSubmit.'Name des Gastes 3'.DisplayName&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast3 Anreise');"<b>Anreise Gast3: </b>"& KomplettreiseForm.LastSubmit.'Gast3 Anreise'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast3 Abreise');"<b>Abreise Gast3: </b>"& KomplettreiseForm.LastSubmit.'Gast3 Abreise'&"<br><br>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.'Name des Gastes 4');"<b>Name Gast4: </b>"& KomplettreiseForm.LastSubmit.'Name des Gastes 4'.DisplayName&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast4 Anreise');"<b>Anreise Gast4: </b>"& KomplettreiseForm.LastSubmit.'Gast4 Anreise'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast4 Abreise');"<b>Abreise Gast4: </b>"& KomplettreiseForm.LastSubmit.'Gast4 Abreise'&"<br><br>";"")&

If(!IsBlank(KomplettreiseForm.LastSubmit.'Wunschhotel/Wunschort');"<b>Wunschhotel oder Wunschort?: </b>"& KomplettreiseForm.LastSubmit.'Wunschhotel/Wunschort'.Value&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Postleitzahl oder Ort');"<b>Postleitzahl oder Ort des Hotels: </b>"& KomplettreiseForm.LastSubmit.'Postleitzahl oder Ort'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.Hotelname);"<b>Hotelname: </b>"& KomplettreiseForm.LastSubmit.Hotelname&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Link zur Website des Hotels');"<b>Hotelwebsite: </b>"& KomplettreiseForm.LastSubmit.'Link zur Website des Hotels'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Ort und Straße');"<b>Ort und Straße: </b>"& KomplettreiseForm.LastSubmit.'Ort und Straße'&"<br>";"")&
If(KomplettreiseForm.LastSubmit.Frühstück;"<b>Frühstück?: </b> Ja<br>")&
If(KomplettreiseForm.LastSubmit.Parkplatz;"<b>Parkplatz?: </b> Ja<br>")&

If(KomplettreiseForm.LastSubmit.Sonstiges;"<b>Sonstiges?: </b>"&KomplettreiseForm.LastSubmit.Sonstiges)&


"<br><br> Sobald wir die Bearbeitung abgeschlossen haben, senden wir dir eine Bestätigung.<br><br>
Dein Front-Desk Team"

)//Mail an Anfragesteller

&

If(!IsBlank(KomplettreiseForm.LastSubmit.'Name des Gastes 2'.Email);
Office365Outlook.SendEmailV2(
KomplettreiseForm.LastSubmit.'Name des Gastes 1'.Email;//Zielemail
"Deine " &Gallery3.Selected.Title & " Anfrage" ;//Betreffzeile
"Hallo " & KomplettreiseForm.LastSubmit.'Name des Gastes 1'.DisplayName&",<br>"
& "Ich habe für dich eine Hotelbuchung mit folgenden Daten vorgenommen:<br>"&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast1 Anreise');"<b>Anreise: </b>"& KomplettreiseForm.LastSubmit.'Gast1 Anreise'&"<br>")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast1 Abreise');"<b>Abreise: </b>"& KomplettreiseForm.LastSubmit.'Gast1 Abreise'&"<br>")&
"<b>Hotel: </b>"&KomplettreiseForm.LastSubmit.Hotelname & "<br>")) //Body
&


If(!IsBlank(KomplettreiseForm.LastSubmit.'Name des Gastes 2'.Email);
Office365Outlook.SendEmailV2(
KomplettreiseForm.LastSubmit.'Name des Gastes 2'.Email;//Zielemail
"Deine " &Gallery3.Selected.Title & " Anfrage" ;//Betreffzeile
"Hallo " & KomplettreiseForm.LastSubmit.'Name des Gastes 2'.DisplayName&",<br>"
& "Ich habe für dich eine Hotelbuchung mit folgenden Daten vorgenommen:<br>"&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast2 Anreise');"<b>Anreise: </b>"& KomplettreiseForm.LastSubmit.'Gast2 Anreise'&"<br>")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast2 Abreise');"<b>Abreise: </b>"& KomplettreiseForm.LastSubmit.'Gast2 Abreise'&"<br>")&
"<b>Hotel: </b>"&KomplettreiseForm.LastSubmit.Hotelname & "<br>")) //Body
&


If(!IsBlank(KomplettreiseForm.LastSubmit.'Name des Gastes 3'.Email);
Office365Outlook.SendEmailV2(
KomplettreiseForm.LastSubmit.'Name des Gastes 3'.Email;//Zielemail
"Deine " &Gallery3.Selected.Title & " Anfrage" ;//Betreffzeile
"Hallo " & KomplettreiseForm.LastSubmit.'Name des Gastes 3'.DisplayName&",<br>"
& "Ich habe für dich eine Hotelbuchung mit folgenden Daten vorgenommen:<br>"&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast3 Anreise');"<b>Anreise: </b>"& KomplettreiseForm.LastSubmit.'Gast3 Anreise'&"<br>")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast3 Abreise');"<b>Abreise: </b>"& KomplettreiseForm.LastSubmit.'Gast3 Abreise'&"<br>")&
"<b>Hotel: </b>"&KomplettreiseForm.LastSubmit.Hotelname & "<br>")) //Body
&


If(!IsBlank(KomplettreiseForm.LastSubmit.'Name des Gastes 4'.Email);
Office365Outlook.SendEmailV2(
KomplettreiseForm.LastSubmit.'Name des Gastes 4'.Email;//Zielemail
"Deine " &Gallery3.Selected.Title & " Anfrage" ;//Betreffzeile
"Hallo " & KomplettreiseForm.LastSubmit.'Name des Gastes 4'.DisplayName&",<br>"
& "Ich habe für dich eine Hotelbuchung mit folgenden Daten vorgenommen:<br>"&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast4 Anreise');"<b>Anreise: </b>"& KomplettreiseForm.LastSubmit.'Gast4 Anreise'&"<br>")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Gast4 Abreise');"<b>Abreise: </b>"& KomplettreiseForm.LastSubmit.'Gast4 Abreise'&"<br>")&
"<b>Hotel: </b>"&KomplettreiseForm.LastSubmit.Hotelname & "<br>")) //Body

 

&


If(!IsBlank(KomplettreiseForm.LastSubmit.'Info an Kollege1'.Email);
Office365Outlook.SendEmailV2(
KomplettreiseForm.LastSubmit.'Info an Kollege1'.Email;//Zielemail
"Zur Info";//Betreffzeile
"Hallo "&KomplettreiseForm.LastSubmit.'Info an Kollege1'.DisplayName &",<br> <br>"&

"Ich möchte dich darüber informieren, dass ich soeben meine Bahnreise mit folgenden Daten gebucht habe:<br><br> "&
"<b>Startbahnhof: </b>"& KomplettreiseForm.LastSubmit.Startbahnhof&"<br>"&
"<b>Zielbahnhof: </b>"& KomplettreiseForm.LastSubmit.Zielbahnhof&"<br>"&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Abfahrt');"<b>Datum Abfahrt: </b>"& KomplettreiseForm.LastSubmit.'Datum Abfahrt'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Ankunft');"<b>Datum Ankunft: </b>"& KomplettreiseForm.LastSubmit.'Datum Ankunft'&"<br>";"")&
"<br> Die Buchung gilt nur für mich und du musst für dich selbst buchen, falls du mit mir fahren möchtest.<br><br>"&
"Viele Grüße "& User().FullName
))
&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Info an Kollege2'.Email);
Office365Outlook.SendEmailV2(
KomplettreiseForm.LastSubmit.'Info an Kollege2'.Email;//Zielemail
"Zur Info";//Betreffzeile
"Hallo "&KomplettreiseForm.LastSubmit.'Info an Kollege2'.DisplayName &",<br> <br>"&

"Ich möchte dich darüber informieren, dass ich soeben meine Bahnreise mit folgenden Daten gebucht habe:<br><br> "&
"<b>Startbahnhof: </b>"& KomplettreiseForm.LastSubmit.Startbahnhof&"<br>"&
"<b>Zielbahnhof: </b>"& KomplettreiseForm.LastSubmit.Zielbahnhof&"<br>"&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Abfahrt');"<b>Datum Abfahrt: </b>"& KomplettreiseForm.LastSubmit.'Datum Abfahrt'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Ankunft');"<b>Datum Ankunft: </b>"& KomplettreiseForm.LastSubmit.'Datum Ankunft'&"<br>";"")&
"<br> Die Buchung gilt nur für mich und du musst für dich selbst buchen, falls du mit mir fahren möchtest.<br><br>"&
"Viele Grüße "& User().FullName
))
&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Info an Kollege3'.Email);
Office365Outlook.SendEmailV2(
KomplettreiseForm.LastSubmit.'Info an Kollege3'.Email;//Zielemail
"Zur Info";//Betreffzeile
"Hallo "&KomplettreiseForm.LastSubmit.'Info an Kollege3'.DisplayName &",<br> <br>"&

"Ich möchte dich darüber informieren, dass ich soeben meine Bahnreise mit folgenden Daten gebucht habe:<br><br> "&
"<b>Startbahnhof: </b>"& KomplettreiseForm.LastSubmit.Startbahnhof&"<br>"&
"<b>Zielbahnhof: </b>"& KomplettreiseForm.LastSubmit.Zielbahnhof&"<br>"&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Abfahrt');"<b>Datum Abfahrt: </b>"& KomplettreiseForm.LastSubmit.'Datum Abfahrt'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Ankunft');"<b>Datum Ankunft: </b>"& KomplettreiseForm.LastSubmit.'Datum Ankunft'&"<br>";"")&
"<br> Die Buchung gilt nur für mich und du musst für dich selbst buchen, falls du mit mir fahren möchtest.<br><br>"&
"Viele Grüße "& User().FullName
))
&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Info an Kollege4'.Email);
Office365Outlook.SendEmailV2(
KomplettreiseForm.LastSubmit.'Info an Kollege4'.Email;//Zielemail
"Zur Info";//Betreffzeile
"Hallo "&KomplettreiseForm.LastSubmit.'Info an Kollege4'.DisplayName &",<br> <br>"&

"Ich möchte dich darüber informieren, dass ich soeben meine Bahnreise mit folgenden Daten gebucht habe:<br><br> "&
"<b>Startbahnhof: </b>"& KomplettreiseForm.LastSubmit.Startbahnhof&"<br>"&
"<b>Zielbahnhof: </b>"& KomplettreiseForm.LastSubmit.Zielbahnhof&"<br>"&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Abfahrt');"<b>Datum Abfahrt: </b>"& KomplettreiseForm.LastSubmit.'Datum Abfahrt'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Ankunft');"<b>Datum Ankunft: </b>"& KomplettreiseForm.LastSubmit.'Datum Ankunft'&"<br>";"")&
"<br> Die Buchung gilt nur für mich und du musst für dich selbst buchen, falls du mit mir fahren möchtest.<br><br>"&
"Viele Grüße "& User().FullName
))
&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Info an Kollege5'.Email);
Office365Outlook.SendEmailV2(
KomplettreiseForm.LastSubmit.'Info an Kollege5'.Email;//Zielemail
"Zur Info";//Betreffzeile
"Hallo "&KomplettreiseForm.LastSubmit.'Info an Kollege5'.DisplayName &",<br> <br>"&

"Ich möchte dich darüber informieren, dass ich soeben meine Bahnreise mit folgenden Daten gebucht habe:<br><br> "&
"<b>Startbahnhof: </b>"& KomplettreiseForm.LastSubmit.Startbahnhof&"<br>"&
"<b>Zielbahnhof: </b>"& KomplettreiseForm.LastSubmit.Zielbahnhof&"<br>"&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Abfahrt');"<b>Datum Abfahrt: </b>"& KomplettreiseForm.LastSubmit.'Datum Abfahrt'&"<br>";"")&
If(!IsBlank(KomplettreiseForm.LastSubmit.'Datum Ankunft');"<b>Datum Ankunft: </b>"& KomplettreiseForm.LastSubmit.'Datum Ankunft'&"<br>";"")&
"<br> Die Buchung gilt nur für mich und du musst für dich selbst buchen, falls du mit mir fahren möchtest.<br><br>"&
"Viele Grüße "& User().FullName
))
&If(KomplettreiseForm.LastSubmit.'Ich möchte eine Bahncard Business';
Office365Outlook.SendEmailV2(
If(KomplettreiseForm.LastSubmit.Gesellschaft.Value="XXXXXXXXXXXX";"XXXXXXXX@XXXXXXXXXXXXXXXX.com";"XXXXXXXX@XXXXXXXXXXXXXXXX.com");//Zielemail
"Bahncardwunsch";//Betreffzeile
"<b>Ich möchte eine Bahncard Business erwerben </b><br>")
)


&ResetForm(KomplettreiseForm)

 

 

  • Verified answer
    465132 Profile Picture
    77 on at
    Re: Submit form leads to " network error when using patch function the requested operation is invalid

    I checked everything and it did not help. Now I will use Power Automate as workaround since the email sending part is the only part not working

  • 465132 Profile Picture
    77 on at
    Re: Submit form leads to " network error when using patch function the requested operation is invalid

    Thank You for you answer!

     

    Required Fields: Ensure that all required fields in your SharePoint list have valid values. If any required field is left blank, it can cause this error. Double-check that the necessary fields are populated before submitting the form.

     

    I do not have required field in the sharepointlist at all.


    Data Type Mismatch: Verify that the data types match between your app and the SharePoint list. For example, if you’re patching a datetime field, make sure it’s not left blank or contains invalid data.

     

    I will check every column tomorrow


    Column Settings: Check the column settings in your SharePoint list. If you’re using a multiple-select Person or Group column (like your “Operators” column), ensure that the “Mail” column of each record has a value (not blank). Also, consider using an empty string ("") instead of a specific URL for the “Picture” column.

     

    I don’t really understand what you mean by that.


    Monitor Tool: Use the Monitor tool in Power Apps to debug the issue. Open the Monitor through the Advanced tools section, run your app, and review the trace to identify any specific errors.

     

    I will


    DataCard Update Value: If you’re using a form, check the data card’s Update property. Make sure it’s pointing to the correct field in your SharePoint list.

     

    I will check every card tomorrow

     

     

     

     

     

  • SunilPashikanti Profile Picture
    731 Super User 2025 Season 1 on at
    Re: Submit form leads to " network error when using patch function the requested operation is invalid

    Hi @465132

     

    Required Fields: Ensure that all required fields in your SharePoint list have valid values. If any required field is left blank, it can cause this error. Double-check that the necessary fields are populated before submitting the form.


    Data Type Mismatch: Verify that the data types match between your app and the SharePoint list. For example, if you’re patching a datetime field, make sure it’s not left blank or contains invalid data.


    Column Settings: Check the column settings in your SharePoint list. If you’re using a multiple-select Person or Group column (like your “Operators” column), ensure that the “Mail” column of each record has a value (not blank). Also, consider using an empty string ("") instead of a specific URL for the “Picture” column.


    Monitor Tool: Use the Monitor tool in Power Apps to debug the issue. Open the Monitor through the Advanced tools section, run your app, and review the trace to identify any specific errors.


    DataCard Update Value: If you’re using a form, check the data card’s Update property. Make sure it’s pointing to the correct field in your SharePoint list.

     

    Please click Accept as solution 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 giving it Thumbs Up.

    Sunil Pashikanti - Tech Blog

     

    Solved: Network Error when using Patch function: The reque... - Power Platform Community (microsoft.com)

    Network Error when using Patch function: The requested operation is - Microsoft Community

    Power Apps Guide - Forms - When calling SubmitForm, how to debug the error "Network error when using Patch function" - Power Apps Guide - Blog

     

     

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

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard