I have SharePoint 2013 list with 13897 items in it, I saved it as a template with include contents.
Now I am trying to create a new list but it doesn't load all items.
and if I open this newly created list, there is an error something like this:
Because there are lots of files and probably the template file is really large, the creation from this template probably timed out and won't be created properly.
I recommend to use Export-SPWeb and ImportSPWeb, where you can simply export and import whole library
Export-SPWeb -Identity <SiteURL> -Path <FileName.cmp> -ItemUrl <URLList> -IncludeUserSecurity -IncludeVersions Import-SPweb -Identity <SiteUrl> -Path <FileName.cmp>