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: Field 'Venue' is required

(0) ShareShare
ReportReport
Posted on by 25

Hi

 

This is driving me crazy.  I getting "Network error when using the Patch function: Field 'Venue' is required".

 

Customized Power App Form with a lookup to another SharePoint list to retrieve Venue details.

 

OnSelect = SubmitForm(SharePointForm1)  - no Patch command here but power app monitor points at this formula.

 

Field 'Venue' is required on the sharepoint list - it itself is lookup in a 'Venues' list (with 'VenueName' (renamed Title) and 'Code' columns). Setting venue to optional works but venue does not flow into sharepoint list.

 

Ideas

 

Thanks

 

 

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @bozo88 ,

     

    SubmitForm function is a patch command as well. The issue is you have required column Venue but no value or value is invalid when submit the form. Basically, it should be a Combo box control in the Venues Data Card in the Form. Have you modified this form?

     

    Best regards,

  • bozo88 Profile Picture
    25 on at

    It is a Combo Box.

    Form has been modified slightly but this really shouldn't affect

     

    Venue_Datacard with combobox on in with datasource of Venues.

     

     

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @bozo88 ,

     

    How did you modify the Form? If the Items property of this Combo box is Choices(SPlist.Venue) and Update of Venue Data Card is VenueDataCardValue.Selected (both are default settings), and a choices is selected in the Combo box then submit the form, the error should not present.

     

    Best regards,

  • bozo88 Profile Picture
    25 on at

    Items is set as Choices(Venues) but then has a red squiggle underneath it.

    "The function Choice has some invalid arguments"

     

     

     

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @bozo88 ,

     

    As I said, for SharePoint list LookUp columns, the Items property of Combo box should be Choices(ListName.ColumnName).

     

    Best regards,

  • bozo88 Profile Picture
    25 on at

    bozo88_0-1697010950370.png

     

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @bozo88 ,

     

    No, it should be the initial list LookUp column. If I have a LookUp column Venue in SharePoint list1, then it should be Choices(list1.Venue)

     

    Best regards,

     

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @bozo88 ,

     

    I have a LookUp column testT1 in list test2, then Combo box settings:

    vjefferni_0-1697017040546.png

     

    Best regards,

  • Verified answer
    bozo88 Profile Picture
    25 on at

    After some hair tearing I finally worked out that I need to change the DataField back to "Venue" (original name) from the renamed "Location". 

     

    Looking through the names of the fields there was nothing there to suggest needing to use original name (or even what it was unless you looked at the actual URL being called). Even Sharepoint Designer didn't help with the names!

     

    But finally the form is working. 

     

    Thanks for all the help.

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 101 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
VASANTH KUMAR BALMADI Profile Picture

VASANTH KUMAR BALMADI 70

Last 30 days Overall leaderboard