Error '0x0D' is invalid within a JSON string when using -UseCommunityScriptEditor parameter #4663
Unanswered
tatsutanaka
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am encountering an issue when using the ConvertTo-PnPPage command with the -UseCommunityScriptEditor parameter. The command works fine without this parameter, but when I include -UseCommunityScriptEditor, I receive the following error:
"'0x0D' is invalid within a JSON string. The string should be correctly escaped. Path: $ | LineNumber: 0 | BytePositionInLine: 150."
The command I used:
ConvertTo-PnPPage -Identity $ClassicPageName -Overwrite -Library $Library -PublishingPage -TargetWebUrl $TaretWebUrl -UseCommunityScriptEditor
Beta Was this translation helpful? Give feedback.
All reactions