-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The JSON value could not be converted to System.Int32. #787
Comments
Hello @jansenbe and @pkbullock,
Cheers |
This issue seems to be related #743 |
Any news about this problem? |
I think this is resolved on the PnP.Core in version 1.9, just update the references to this version I updated my PnP.Framework and resolved the issue |
Hello,
I'm having the following issue when trying to run the following command over an specific site:
Get-PnPSiteTemplate -Connection $connection -Out $output -Encoding ([System.Text.Encoding]::UTF8) -IncludeAllPages -IncludeAllTermGroups -IncludeNativePublishingFiles -IncludeSearchConfiguration -PersistBrandingFiles -PersistPublishingFiles -Force
Everything goes normal until I get this error in debug output:
Extracting Template from https://n36j.sharepoint.com/sites/S… [Client Side Page Contents ] 81167717-0a13-41cc-9b59-8cd7924a2669
Get-PnPSiteTemplate: /tmp/regress/bin/M365-SP-Backup-Site.ps1:53 ed1677172292ms4181167717-0a13-41cc-9b59-8cd7924a2669
Line | 81167717-0a13-41cc-9b59-8cd7924a2669b59-8cd7924a2669
53 | Get-PnPSiteTemplate -Connection $connection -Out $output -Encodin …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| The JSON value could not be converted to System.Int32. Path: $.position.sectionIndex | LineNumber: 0 | BytePositionInLine: 107.
This is happening using PnP.Powershell in latest version (1.11.0), but also in the most recent nightly (1.11.124-nightly). I'm opening the issue here as it's what they suggest in their git repo:
...
Invoke-PnPSiteTemplate
orGet-PnPSiteTemplate
? The issue is most likely related to the Provisioning Engine. The Provisioning engine is not located in the PowerShell repo. Please report the issue here: https://github.com/pnp/pnpframework/issues....
How could I investigate further this problem?
Thanks for any help.
Best regards,
Jorge
The text was updated successfully, but these errors were encountered: