cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Andries1
Level: Powered On

Field required error

I'm trying to write a collection in repeating tables but when I action save to Sharepoint I keep on getting an error stating I'm missing a field or required field error. Yet all the fields in my sharepoint is filled in?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Field required error

Hi @Andries1 ,

Could you please share a bit more about the error message with your formula?

How do you save your collection data back to your SP List? Using Patch function?

Have you rename some columns (e.g. Title column) within your SP list?

 

Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. When saving a Collection data back to SP List, the sample syntax as below:

ForAll(
          Collection, 
          Patch(
                    'YourSPList',
                     Defaults('YourSPList'),
                     {
                         Column1: Collection[@Column1],
                         Column2: Collection[@Column2],
                         Column3: Collection[@Column3],
                         ...
                     }
          )
)

If you use Patch function to save your collection data back to your SP List, please check if you have typed proper columns within the '{}' part of the Patch function (if you have renamed your column names), and specify proper values for all Required/Mandatory fields within the '{}' part.

 

You could go to your SP List settings, then check if you have specify proper values for all Required fields list as below:1.JPG

After that, click the specific column in above column list, then make sure you reference the Internal Column Name of your List column within the '{}' part of your Patch function:2.JPG

Note: Within Patch function, you should reference the Internal Name of the List columns.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
mdevaney
Level 8

Re: Field required error

@Andries1
Can you please share more information?
* Your code used to submit the collection to SP
* A screenshot of the error message
Community Support Team
Community Support Team

Re: Field required error

Hi @Andries1 ,

Could you please share a bit more about the error message with your formula?

How do you save your collection data back to your SP List? Using Patch function?

Have you rename some columns (e.g. Title column) within your SP list?

 

Based on the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. When saving a Collection data back to SP List, the sample syntax as below:

ForAll(
          Collection, 
          Patch(
                    'YourSPList',
                     Defaults('YourSPList'),
                     {
                         Column1: Collection[@Column1],
                         Column2: Collection[@Column2],
                         Column3: Collection[@Column3],
                         ...
                     }
          )
)

If you use Patch function to save your collection data back to your SP List, please check if you have typed proper columns within the '{}' part of the Patch function (if you have renamed your column names), and specify proper values for all Required/Mandatory fields within the '{}' part.

 

You could go to your SP List settings, then check if you have specify proper values for all Required fields list as below:1.JPG

After that, click the specific column in above column list, then make sure you reference the Internal Column Name of your List column within the '{}' part of your Patch function:2.JPG

Note: Within Patch function, you should reference the Internal Name of the List columns.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 437 members 6,837 guests
Please welcome our newest community members: