Skip to main content
All CollectionsMigrateHelp me solve thisMigration Errors
An error occurred when attempting to create the site
An error occurred when attempting to create the site
Updated this week

Symptoms

When attempting to copy a site, the following message is displayed:

An error occurred when attempting to create the site. This is most often caused by an issue with the site template. Details: Provisioning did not succeed. Details: Failed to initialize some site properties for Web at Url: 'http://mySharePoint/sites/MySite/SubSite'

Error code

  • IN-386-150

Any error code ending with: -150

Details

This error occurs when ShareGate Migrate attempts to create a site and SharePoint returns an error with a generic error code. This is often caused by an issue with the site template used to try to create the site, which is determined by ShareGate Migrate using the site template mappings. The site template could have a wrong reference to a non-existing object, use too much resources, try to perform an operation for which you don't have the permissions, etc. The details in the error message will contain the error returned by SharePoint itself, which should help you get an idea about what is going wrong.

Solution

The first thing to do is to validate if the error really comes from the site template. You can try to manually create a site at the destination using the same site template and see if it works or if it gives you an error. If it gives you an error, here are the best ways to handle the situation:

  • If you really need to use this site template, have a look at the SharePoint ULS log. It should contain details about the error that will help you modify the site template to make it work. Once you are able to manually create a site using this template, you can retry your migration in ShareGate Migrate and it should also work correctly.

  • If it is not a problem for you to use another site template, simply change the site template mappings to use an out-of-the-box template (like Team Site) instead of the problematic site template.

Did this answer your question?