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

Topic Tuesday: What's your favorite topic?

Good morning All, Our goal is to get you into the habit of while enjoying your favorite morning drink you are checking the NOVA "space" for topics and comments. Your input is really needed and...

36 views 4 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