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

This widget could not be displayed.

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

This widget could not be displayed.

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.

This widget could not be displayed.

Works now from curl :-)

No idea why maybe latest changes on atlassian accounts management helped

This widget could not be displayed.

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
Community showcase
Posted Thursday in United States

Local Atlassian Research Workshop opportunity on Sep. 28th

We're looking for participants for another workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sh...

36 views 0 0
View post

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