Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.



Problem statement

This article explains how to resolve various errors mentioned in the succeeding sections, while attaching a file from remote clients using CLI.


App Version9.0.0

Error message 1

Code Block
Client error: Space <space name> not found or not authorized.

Solution 1

Run the following curl command on the remote client to know if you are able to retrieve the results (username, password, and base URL need to be replaced in the below command):


If you are using another URL within the file and running the acli actions getSpacelist, you notice an error: Space 'ctmtest' not found or not authorizedThen modify the file to work with your environment and then run the CLI actions.


Client error: Invalid response from server for a REST API request. Check the server is completed setup and available

Solution 2

You need to approach the firewall/network team and make sure the server is having a complete setup and available for a response from the server for the REST API request.

Error Message 3

Error - User is not authorized to perform the request. Response code: 401"

Solution 3

You need to install API Token Authentication for Confluence from Atlassian marketplace and generate API token to use it as your password in the file. Once done, run your CLI actions.