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 / patch function network...
Power Apps
Unanswered

patch function network error

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am currently using SP List to store the information,

 

and using text box, dropdown menu, and combo box from power apps to receive information about

a guest's name, purpose of visit, company, and etc.

 

ryaotuix_0-1686585750018.png

Above are the column and Type of the variables that I am using.

 
 
 
 
 

network error.png

This is the input that I am receiving

Guest Of is the only combo box that works for (person type).

 

The function I am using for the button is shown below

 

// Create a new record 
Patch(
 GuestInNOut,
 Defaults(GuestInNOut),
 {
 Title: inpLN.Text,
 'First Name':inpFN.Text,
 Location: ddLocation.Selected,
 'Guest Of':cbGO.Selected,
 Company: ddCompany.Selected,
 Purpose: ddPurpose.Selected,
 EntryTime: Now()
 };
);

If (
 // check if there were any errors when the record is submitted
 !IsEmpty(Errors(GuestInNOut)),
 
 // if true, show error message
 Notify(
 "Failed to sign in the guest",
 NotificationType.Error
 ),

 // else, go to success screen
 Set(VarStartTimer, true);
 Navigate('Sign In Success Screen');
)

 

 

It sometimes work totally fine, but sometimes it underlines the patch function and give me the "Network Error" As shown in the picture above.

 

I was wondering how to stabilize and make sure this error is fixed.

 

Please help me out!

Thank you all for help

 

Categories:
I have the same question (0)
  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    Hi @Anonymous ,

     

    1. Does the app consistently work when you remove the line to Patch the Guest Of column?
    2. Is the Guest of Column a multi select people field?
    3. What do you have in the Items property of cbGo?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard