Network error when using Patch function: Field ‘Title’ is required

In this Power Apps Tutorial, we will see how to resolve the issue of Network error when using Patch function: Field ‘Title’ is required.

network error when using patch function field ‘title’ is required

We recently experienced a problem while working with the Power Apps canvas app when saving an item from the Power Apps tabbed form to the SharePoint list via a Save button. Along with this, we are receiving the following error message:

Network error when using Patch function: Field 'Title' is required

You can see, how exactly the error message appears.

Network error when using Patch function Field Title is required
Network error when using Patch function Field Title is required

After some research, we got a solution to resolve this issue. The following steps that we took to resolve that issue are discussed below.

Approach 1: Rename the Title field in Data Source

  • Initially, we renamed the SharePoint list’s Title column as Full Name and connect that list to the above Power Apps tabbed form.
  • As per the solution, we again renamed the column names from Full Name to Title within the SharePoint list. Then refresh the data source within the Power Apps.
  • Once refreshed, the data card (field) name is modified to Title.
Network error when using Patch function Field 'Title' is required
Network error when using Patch function Field ‘Title’ is required

Now, when we insert any data it will save that data from the Power Apps tabbed form to the SharePoint list without displaying any error notification.

Approach 2: Remove the Title field from the app (edit form)

Aside from renaming the field, we came up with another solution: remove the Title field from the Power Apps canvas app or edit form.

As per the expertise solution, they recommend removing the title field from the Power Apps edit form and adding it again to the form.

In accordance with the recommendation, we removed that data card (Title) from the app and added that field back in. Then we set the field properties as per the Power Apps tabbed form requirement (it’s optional).

It’s work like a miracle! Now we are able to save the data to the SharePoint list from the Power Apps tabbed form.

Network error when using Patch function in Power Apps
Network error when using Patch function in Power Apps

This is how we can resolve the error “network error when using patch function field ‘title’ is required while submitting data from the Power Apps edit form to a SharePoint list.

Approach 3: Remove the required option from the Title field

This is another approach to resolve the above-mentioned issue i.e., Remove the required option from the Title field.

In certain discussions, some expertise advice removing the required option from both the data source and the data card of the Power Apps form. Then save the app and submit the data.

Now, we can see the inserted data saved successfully on the SharePoint list from the Power Apps.

This is how to get rid of the issue while submitting the data from the Power Apps.

Conclusion

From the Power Apps Tutorial, we learned all about how to resolve the error “network error when using patch function field ‘title’ is required” while submitting the data from the Power Apps edit form to SharePoint by using different types of approaches.

You may also like:

>