How to solve REST API error 401 with atlassian account used in basic authentication

Since the move from JIRA userid to atlassioan account for authentication I get a 401 error calling REST JIRA APIs with basic authentication. 

Can this be related to the @ in my user (atlassian account) ? 

4 answers

What operation are you runing? If it's something in admin interface, you will need to manage cookies.  

My scripts are developed in php but for problem determination purpose I'm using "curl" from Mac OSx as documented here : https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-basic-authentication/?_ga=1.119452107.353217699.1488354328

Same issue here.

Works now from curl :-)

No idea why maybe latest changes on atlassian accounts management helped

I'm having the same issue here. Every few days the API returns a 401 header. After resetting the password from Atlassian (to the same as before), it works again. 

Until it's reset again and I ahve to run through the same steps again to fix it.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Tuesday in Uncategorized

Friday fun: how many celebrates Midsummer holiday or is this a Swedish tradition only?

Any other country that celebrates Midsummer holiday (this friday 22 June)?  

46 views 3 1
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