Unable to authenticate using JIRA CLI v 6.7.1

I've just donloaded the CLI 6.7.1 distribution. When attempting to run a CLI command for JIRA, I receive an 401 response code on the licenses validation check.

Response code: 200, message: null, url: https://jira.XXX.com/rest/auth/1/session
Response code: 401, message: null, url: https://jira.XXX.com/rest/org.swift.jira.cli/latest/validatelicense
Retry request on 401 error.
Response code: 401, message: null, url: https://jira.XXX.com/rest/org.swift.jira.cli/latest/validatelicense

Remote error: User is not authorized to perform the request. Response code: 401.
org.swift.common.cli.CliClient$RemoteNotAuthorizedException: User is not authorized to perform the request. Response code: 401.
	at org.swift.common.cli.helpers.DefaultRemoteHelper.handleBadResponseCode(DefaultRemoteHelper.java:1031)
	at org.swift.common.cli.helpers.DefaultRemoteHelper.restRequestWithUrlConnection(DefaultRemoteHelper.java:858)
	at org.swift.common.cli.helpers.DefaultRemoteHelper.restRequestWithFullUrl(DefaultRemoteHelper.java:668)
	at org.swift.common.cli.helpers.DefaultRemoteHelper.restRequestWithUrlConnection(DefaultRemoteHelper.java:852)
	at org.swift.common.cli.helpers.DefaultRemoteHelper.restRequestWithFullUrl(DefaultRemoteHelper.java:668)
	at org.swift.common.cli.helpers.DefaultRemoteHelper.restRequestWithFullUrl(DefaultRemoteHelper.java:639)
	at org.swift.common.cli.helpers.DefaultRemoteHelper.restRequest(DefaultRemoteHelper.java:622)
	at org.swift.common.cli.helpers.DefaultRemoteHelper.restRequest(DefaultRemoteHelper.java:611)
	at org.swift.common.cli.helpers.DefaultRemoteHelper.restRequest(DefaultRemoteHelper.java:595)
	at org.swift.common.cli.helpers.AppfireRemoteHelper.getServerInfo(AppfireRemoteHelper.java:117)
	at org.swift.common.cli.DefaultRemoteClient.validateLicense(DefaultRemoteClient.java:253)
	at org.swift.jira.cli.JiraClient.validateLicense(JiraClient.java:2466)
	at org.swift.jira.cli.JiraClient.handleRequest(JiraClient.java:766)
	at org.swift.common.cli.DefaultRemoteClient.process(DefaultRemoteClient.java:506)
	at org.swift.common.cli.CliClient.doWork(CliClient.java:572)
	at org.swift.jira.cli.JiraClient.main(JiraClient.java:172)
URL requested: https://jira.XXX.com/rest/auth/1/session

We have a valid license.

We have the connector installed and the license is valid.

We are JIRA 7.3.5 Data Center Server install.

If I go to the URL that validates the license, I get a proper response:

{"status":true,"message":"Bob Swift Atlassian Add-ons - JIRA CLI Connector has a valid license.","product":"JIRA","version":"7.3.5","build":"73016","buildDate":"2017-04-19T00:00:00.000-0400","time":"2017-07-10T13:28:05.731-0400","timeZone":"Eastern Standard Time","title":"XXX JIRA","baseUrl":"https://jira.XXX.com","connectorVersion":"6.7.0"}

1 answer

This widget could not be displayed.

Can you post the command you're running? Please obfuscate the password. :)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

259 views 1 3
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you