Versions Compared

Key

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

Problem

Info

CLI User is facing remote error while using Confluence cloud.

Error Message 

Code Block
languagebash
themeMidnight
Remote error: User is not authorized to perform the request. Response code: 401.

Environment

ApplicationConfluence
Version Cloud
ApplicationJIRA Software
Add-on VersionNA

Cause

Panel
bgColor#f9ecc5

As per the recent GDPR guidelines issued by Atlassian, there is a change in the authentication parameters for the Cloud.

Solution

In order to overcome this issue, please follow the below steps:

  1.  Download CLI client 8.5 SNAPSHOT from this location under the *EAP Client* section.

  2.  Use the Email address as username and token as password.

    A. In order to create a token: Click on your profile avatar on the bottom left corner.
    B. Click on Profile --> Manage your account --> Security
    C. Under API token, click on Create and manage API tokens (If you see a blank screen, refresh the page Or open this in another browser)
    D. Then click on the button Create API token.

  3. A token is created that needs to be copied and kept securely. Use it as --password parameter.


Info
  1. Make sure the username and password are updated in all the CLI files/scripts wherever you have username and password parameters.