Symptoms
When copying content into a SharePoint library, only some of your documents arrive. The migration report displays the following error:
The folder was not found.
The migration report may also show File Not Found, even though the destination folder exists and you have full control over it. Retrying or switching between Normal and Insane mode gives the same result.
Error code
IN-026-013
Details
ShareGate Migrate uploads the file, and SharePoint confirms it is there. If the library has column or list validation that the item doesn't meet, SharePoint rejects the item and removes the file. Migrate looks for the file again, can't find it, and reports it as not found. The folder isn't the problem. The validation is.
Solution
Open the destination library in SharePoint and check for validation:
Column validation on individual columns (column settings).
List validation in the library's validation settings. See The list validation formula failed.
Check for required columns without a default value that expect someone to type a value.
Check whether a script, flow, or custom code applies validation to the library.
Disable or relax the validation for the duration of the migration, or make sure the migrated metadata satisfies the rules.
Run the failed items again in Copy content and compare the item count with the source.
Re-enable the validation after the migration if you need it.
Quick test: Upload a test file directly to the destination library in SharePoint, using the same account you migrate with. An error, a prompt for required fields, or a file that saves and then disappears confirms the library is enforcing validation.
If it still fails
This error can also appear alongside authorization or sign-in errors. Those can have separate causes, such as the migration account's access to the ShareGate Migrate Enterprise Application in Azure or a conditional access policy.
If you still can't solve the issue, contact our technical support and include the migration report exported with "Show Item-Level" and "Show Version History" enabled.
