Running a trial of Confluence Cloud and Bob Swift CLI. When I run a command, for example getSpaceList, it returns the error: Remote error: User is not authorized to perform the request. Response code: 401.
I am both an admin and site admin, so it should not be a permissions issue. The CLI Connector is installed, and I'm running the 8.0 client.
We have an older version running in our Confluence server implementation, and it works fine.
Troubleshooting steps?
Verbose out, if it helps:
Response code: 401, message: Unauthorized, url: https://OurSiteName.atlassian.net/wiki/rpc/json-rpc/confluenceservice-v2/getServerInfo
Remote error: User is not authorized to perform the request. Response code: 401.
org.swift.common.cli.CliClient$RemoteNotAuthorizedException: User is not authorized to perform the request. Response code: 401.
at org.swift.common.cli.helpers.DefaultRequestHelper.handleBadResponseCode(DefaultRequestHelper.java:1241)
at org.swift.common.cli.helpers.DefaultRequestHelper.makeRequestWithUrlConnection(DefaultRequestHelper.java:918)
at org.swift.common.cli.helpers.DefaultRequestHelper.makeRequestWithUrlConnection(DefaultRequestHelper.java:912)
at org.swift.common.cli.helpers.DefaultRequestHelper.makeUrlRequest(DefaultRequestHelper.java:711)
at org.swift.common.cli.helpers.DefaultRequestHelper.makeRequest(DefaultRequestHelper.java:684)
at org.swift.confluence.cli.helpers.RpcRequestHelper.rpcRequest(RpcRequestHelper.java:74)
at org.swift.confluence.cli.ConfluenceClient.getServerInfoAlternate(ConfluenceClient.java:298)
at org.swift.confluence.cli.ConfluenceClient.getRemoteServerInfo(ConfluenceClient.java:273)
at org.swift.confluence.cli.ConfluenceClient.getServerInfo(ConfluenceClient.java:231)
at org.swift.confluence.cli.ConfluenceClient.handleRequest(ConfluenceClient.java:789)
at org.swift.common.cli.DefaultRemoteClient.process(DefaultRemoteClient.java:740)
at org.swift.common.cli.CliClient.doWork(CliClient.java:674)
at org.swift.common.cli.CliClient.doWork(CliClient.java:631)
at org.swift.confluence.cli.ConfluenceClient.main(ConfluenceClient.java:179)
added verbose output above
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.