Forums

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

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

jmtizonCV April 11, 2017

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

1 vote
Dave Theodore [Coyote Creek Consulting]
Community Champion
April 11, 2017

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

0 votes
Adam van Dongen
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!
May 8, 2017

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.

0 votes
jmtizonCV April 27, 2017

Works now from curl :-)

No idea why maybe latest changes on atlassian accounts management helped

0 votes
jmtizonCV April 11, 2017

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

Sohail April 24, 2017

Same issue here.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events