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 / Network error when usi...
Power Apps
Answered

Network error when using the Patch Function: An error occurred on the server

(0) ShareShare
ReportReport
Posted on by 69

Screenshot (24).png

hi have issue when i click submit button ,the patch function have issue in network error when using patch function. An error occurred on the server.. i need help fo this issue

Categories:
  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    Hi @ikmalbalo ,

    This is generally cause by a mis-match between the data types of the source and target values, so check that each field is being presented with data of the same type.

  • ikmalbalo Profile Picture
    69 on at

     

    i think i have follow the type from my sharepoint list

     

    Title - Single line of Text

    Requestor_Terminal - Lookup

    Requestor_Name - Person or Group

    Final_Request_Value - Number

    Contract_CTR_No:Contract Title - Lookup

    Contract_CTR_No:Expiry Date - Lookup

    Contract_CTR_No:Approved Contract Value - Lookup

  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    @ikmalbalo ,

    Your issue is probably with your Lookup columns depending on the Items of those drop-downs. If they are not simply Choices(ListName.FieldName), you need to patch back the Id also. Some code of the Items (in Text ) would be useful

  • ikmalbalo Profile Picture
    69 on at

    means in patch i put Choices(ListName.FieldName) to change lookup sorry im lack of understanding, or can you give example 

     

  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    @ikmalbalo ,

    I was asking for the Items of the drop-downs containing the Lookup columns - Choices(ListName.FieldName)  simply refers to your list and field name for the column - If the Items are this, your Patch should work, If not it is nore complex.

  • ikmalbalo Profile Picture
    69 on at

    Screenshot (26).png

     

     

    yes for the item of drop down  use choices as you ask

  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    @ikmalbalo ,

    You have four lookup columns there - are the others the same ?

  • ikmalbalo Profile Picture
    69 on at

    yes all four lookup are same..

  • Verified answer
    WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    @ikmalbalo ,

    This normally one of your values patched is not matching the structure of the target field. Try starting with the first one on its own and then keep adding until you get the error.

  • ikmalbalo Profile Picture
    69 on at

    hi,i think i just got the answer..now i can submit the form tq for your help, i appreciate that

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard