Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Invalid Response from REST Server when calling Confluence CLI

Hi guys,


I am currently trying to build a macro in Confluence which calls the Confluence CLI.


When I try one of the example scripts (from  I am always getting errors.

So I tried to using Confluence CLI from my PC using the Commandline.

I downloaded the Client, Installed "Confluence Command Line Interface (CLI)" on my Server and called something like:

    confluence.bat --action getServerInfo --outputFormat 2 --verbose

My username and password are stored in the confluence.bat file, as well as my server-url.

The Response I get is:

    Server info:

    License information . . . . . : 
    Response time (milliseconds) : 3443


So it clearly does not work, but he also does not say why.

My License is valid. Calling serverurl/rest/org.swift.confluence.cli/latest/validatelicense returns:

{"status":true,"message":"Bob Swift Atlassian Apps - Confluence Command Line Interface (CLI) has a valid license.","product":"Confluence","version":"6.11.2","build":"7801","time":"2020-03-03T15:56:34.542+0100","timeZone":"Western European Time","title":"Confluence","baseUrl":"","connectorVersion":"9.1.0"}


Can someone tell me why I can't use the CLI and why my configured macro is not working?


Thank you in advance for any kind of help!

1 answer

0 votes
Deleted user Mar 03, 2020

Hi @Stjepan Bijelonjic ,

We are from the BobSwift support team.

We have created a support request on behalf of you in our portal. Please access the ticket to discuss more on this issue.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

🤺 Atlympic Event: Partnerships

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

194 views 3 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you