Versions Compared

Key

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

Problem statement

As part of the Platform changes related to GDPR, the The CLI client is seeing a remote error while accessing the cloud instance, as part of the platform changes related to GDPR.

Error message 

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

...

Cause

Panel
bgColor#f9ecc5

The recent GDPR guidelines issued by Atlassian, there is a change in error is caused due to the recent changes in the authentication parameters for the Cloud . The platform changes relate to removal or changes to REST APIs that are critical for CLI operations. instance, as recommended by the GDPR guidelines issued by Atlassian. 

Solution

CLI users must upgrade their CLI client to the latest version available as to rollout GDPR platform changes rollout, to access Cloud platforms. The Username and Password parameters accept only user email address and token respectively. To  

To generate the token:

  1. Click on your profile avatar on the bottom left corner.

  2. Click on Navigate to Profile -- > Manage your account -- > Security.

  3. Under API token, click on click Create and manage API tokens (If you see a blank screen, refresh the page Or open this in another browser).

  4. Then click Click Create an API token. A token is created that needs to be copied and kept securely.

Perform the following to avoid the error:

  1. Download CLI client 8.5.0 from 0 from this location.

  2. Enter the following:

    • Username - User email address

    • Password - Token

...