-
-
Couldn't load subscription status.
- Fork 42
Description
Since a couple of months the Get-ConfluenceSpace is not working anymore for me. The only thing changed is the Confluence Version itself i guess.
Has anyone the same problems?
Import-Module ConfluencePS
Set-ConfluenceInfo -BaseURI 'https://confluence.fqdn' -PromptCredentials
$spaces = Get-ConfluenceSpace
WARNING: Confluence returned HTTP error 500 - InternalServerError
`Get-InstalledModule ConfluencePS
Version Name Repository Description
2.5.1 ConfluencePS PSGallery PowerShell module to interact with the Atlassian Confluence REST API`
Using Confluence-Datacenter in Version: 8.9.4
ERBOSE: [Get-ConfluenceSpace] Function started
VERBOSE: [Invoke-Method] Function started
VERBOSE: [ConvertTo-GetParameter] Making HTTP get parameter string out of a hashtable
VERBOSE: [Invoke-Method] Invoking method Get to URI https://confluence.fqdn/rest/api/space
VERBOSE: [Invoke-Method] Invoke-WebRequest with:
Method : Get
Credential : System.Management.Automation.PSCredential
ContentType : application/json; charset=utf-8
Uri : https://confluence.fqdn/rest/api/space?expand=description.plain,icon,homepage,metadata.labels&limit=25
Headers : {[Accept-Charset, utf-8], [Accept, application/json]}
UseBasicParsing : True
Verbose : False
ErrorAction : Stop
VERBOSE: [Invoke-Method] Failed to get an answer from the server
VERBOSE: [Invoke-Method] Status code: InternalServerError
WARNING: Confluence returned HTTP error 500 - InternalServerError
VERBOSE: [Invoke-Method] Retrieved body of HTTP response for more information about the error ($responseBody)
Invoke-ConfluenceMethod: An unknown error ocurred.
VERBOSE: [Invoke-Method] Function ended
VERBOSE: [Get-ConfluenceSpace] Function ended