"Sorry, something went wrong" error message when you save a SharePoint Online site as a template
Consider the following scenario:
You open the Solution Gallery in the Solutions area of SiteSettings in Microsoft SharePoint Online.
You change the Require content approval for submitted items? setting to Yes.
When you try to save the site as a template, you receive the following error message:
Sorry, something went wrong An unexpected error has occurred.
To work around this issue, change the Require content approval for submitted items? setting to No, and then save the site as a template. To do this, follow these steps:
Browse to the SharePoint Online site in which you received the error message.
Click the gear icon for Settings, and then click Site settings.
In the Web Designer Galleries section, click Solutions.
On the ribbon, click the LIBRARY tab, and then click Library Settings.
Click Versioning Settings.
In the Content Approval section, set Require content approval for submitted items? to No, and then click OK.
Save the site as a template.
Re-enable content approval on the Solution Gallery after the template is successfully created, if it's necessary.
Any site that was created by using this template has the Require content approval for submitted items? setting set to No. You may have to enable this setting for a site that you created from the template, if it's necessary.
This is a known issue in SharePoint Online.
Still need help? Go to Microsoft Community.