Get-PnPSiteTemplate : Expected hex 0x in '{0}'

Contributor


I'm attempting to export a sites template.  When I try Fields I get this error.  Any help is appreciated.

Get-PnPSiteTemplate -Out "TemplateFields.xml" -Handlers Fields -Connection $sourceSite

 

Get-PnPSiteTemplate : Expected hex 0x in '{0}'.
At line:3 char:1
+ Get-PnPSiteTemplate -Connection $sourceSite -Out "TestCarmaTemplate.x ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (:) [Get-PnPSiteTemplate], FormatException
+ FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Provisioning.Site.GetSiteTemplate
0 Replies