Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error: authentication failed

reloking
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 25, 2025

Hi. I was trying to set up rovodev (Windows). I installed everything, and it seems like i can use commands like ".\acli.exe --help", tho when im trying to run the "acli rovodev auth login", it is asking for my e-mail, and API token, i enter my mail n API token, but it just gives me an error - ✗ Error: authentication failed. I tried like 10 times, installed some stuff which could probably help with this, but it didnt work.

3 comments

Comment

Log in or Sign up to comment
ArpitJain
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 28, 2025

I am also facing same issues on windows, tried deleting and creating api keys multiple times but the authorization fails everytime

Jovana Dunisijevic
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 1, 2025

Hi @reloking and @ArpitJain 

Thank you for reaching out and sharing your experiences!

Here are some steps and checks to help resolve the authentication issue:

1. API Token Requirements

2. Product and Permission Checks

  • Rovo Dev Agents needs to be installed and enabled on your Atlassian site.

  • Your organisation admin needs to enable Rovo Dev CLI for your site.

  • You must be granted the “rovo-dev-agents-users” permission by your admin. If you are not on the access list, authentication will fail even with a valid token

3. Common Error Scenarios

  • If your site does not have Rovo Dev Agents or the CLI enabled, you will see an authentication error.

  • If you do not have the correct permissions, you will also see an authentication error.

  • If you are using the correct email and API token and still see “✗ Error: authentication failed,” it is likely a permissions or product enablement issue, not a problem with your token or CLI installation.

4. What to Do Next

  • Contact your Atlassian site admin and ask them to:

    • Confirm that Rovo Dev Agents and Rovo Dev CLI are enabled for your site.

    • Ensure your user account is added to the “rovo-dev-agents-users” group.

  • If you are the admin, you can enable Rovo Dev CLI in your site’s admin settings and add yourself to the correct group.

5. Additional Troubleshooting

  • Double-check that you are entering your Atlassian account email (the one associated with your API token).

  • Make sure you are using the latest version of the CLI.

If you continue to have issues, you can check the CLI log file for more details by running:

acli rovodev log

The log file is typically located at ~/.rovodev/rovodev.log

Let us know if this information helped!

Kindest regards,

Jovana

ArpitJain
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 1, 2025

Hi  Jovana,

I have invited myself and given rovodev permissions from admin page, both on my account as well as the other account i have created api key and tested but it doesnt work

image.png

i have also tried checcking in my admin interaface andi have permission to rovodev agents.  

image.png

the status stays invited despite of accepting the invitation from the email

Authentication still fails. can you help?

Like peanut likes this
Jovana Dunisijevic
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 1, 2025

Hey @ArpitJain 

I am so sorry to hear you're still having issues with the authentication! 

 

The most likely reason authentication is still failing is that your user status remains "invited" even after accepting the invitation, which means your account is not yet fully active in the system.

 

Sometimes, after accepting an invite, the user status does not update from "invited" to "active," and as a result, authentication will continue to fail even if permissions are set correctly.

Let's try this!

  • Double-check that you have fully completed the invitation process (sometimes this requires logging out and back in, or accepting the invite from a different browser).

  • Since you're the site admin, remove your user from the Rovo Dev Agents group, re-invite yourself, and accept the invite again.

  • If your status still shows as "invited" after these steps, this could be a backend provisioning issue in which case we'd have to go through the Atlassian support to look into that having your email and site details so they can manually activate your account. And for that you can raise a ticket here: https://rovodevagents.atlassian.net/servicedesk/customer/portal/1/group/1/create/45

Let us know how you go!

Jov

Govard Vogard
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 5, 2025

Same problem. I paste my api-token to token.txt in .rovodev folder. And run "acli rovodev auth login --email "mail@gmail.com" --token < token.txt". Auth successful! See https://rovodevagents-beta.atlassian.net/wiki/external/Yzc2NzI4MTk3YTBhNDdiYjkzZDhhZTc3MjE0ZmE4Y2Q#Known-Issues-%26-Mitigations

TAGS
AUG Leaders

Atlassian Community Events