Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
TAGS
Community showcase
Asked in Atlassian Account

Upcoming AMA with the Atlassian Identity Product Managers!

"Atlassian Account" is a space where you can raise questions about your Atlassian Account and your identity across all of our Atlassian Cloud Products. This involves understanding User Managemen...

697 views 8 17
View question

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you