I am trying to save a list as a template with data to copy it to other sites for testing. When I attempt to Save the List as a Template, either from the list settings in the web UI, or with the following PnP-PowerShell, I get an error that I do not understand and cannot find documentation for.
$List.SaveAsTemplate($FileName, $TemplateName, $Description, $IncludeData) $Context.ExecuteQuery();
And the error I am seeing is
Read error on file "_catalogs/lt/Filename.stp"