ConvertTo-ConfluenceStorageFormat cmdlet gives error on Ubuntu
spatel-15 opened this issue · 0 comments
spatel-15 commented
Hi
there is an issue with ConvertTo-ConfluenceStorageFormat
powershell cmdmlet, it is giving error (details below)
I am using below OS and PowerShell version 7.2.6
Distributor ID: Ubuntu
Description: Ubuntu 20.04.5 LTS
Release: 20.04
Codename: focal
Confluence Powershell Module
AtlassianPS.Configuration 0.2.4
ConfluencePS 2.5.1
ConvertTo-ConfluenceStorageFormat
is having issues and gives error
Get-Date -Format s | ConvertTo-ConfluenceStorageFormat -ApiUri "https://mycompany.atlassian.net/wiki/"
ConvertFrom-Json: Conversion from JSON failed with error: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
ConvertTo-ConfluenceStorageFormat -Content 'Hello world!' -ApiUri "https://mycompany.atlassian.net/wiki/"
ConvertFrom-Json: Conversion from JSON failed with error: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
also - examples on this page has to be updated to support mandatory parameter -ApiUrl