You can set a list column to require a value when a new item is created.
Symptoms
When attempting to copy an item, ShareGate Migrate displays the following error:
This value is required.
Error code
- IN-142-106
- DA-073-106
- DA-075-106
- Error codes ending with: -106
Details
You can set a column to require a value at any time in SharePoint. You usually get this error when a column was set not to require a value when it was created, items were created without a value, and then the setting was activated for that column.
When you migrate items in that list, the destination will refuse them because that column requires a value and your old items does not have one for that property.
Solutions
Set your column so it does not require information during your migration
- Open the list directly in SharePoint.
- Click on the gear icon in the top right corner.
- Select List settings from the menu that appears.
- Scroll down to the Columns section.
- Click on the name of the affected column that requires information.
- Set Require that this column contains information to No.
- Go to ShareGate Migrate.
- Run your migration again.
- Go back to your column settings.
- Set Require that this column contains information back to Yes.
Set a default value for your items missing information in the required column
- In the Copy content only screen, click on Options.
- Select the Metadata tab.
- Expand the content type that contains the affected column.
- Locate the affected column.
- Select Set mapped value or default in the dropdown.
- In the new dropdown that appears at the right, select the default value you want ShareGate Migrate to use when a required value is missing.
- Click on the green checkmark in the top-right corner to save your settings and close the options panel.
- Run your migration again.
- Items with no value for your required field will get the default value you selected while items that already have a value will keep that value from the source.