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

JIRA Rest API authentication returns 401 for only this user with correct API token

We are running a tool that needs to authenticate to Jira Rest API.

We use Basic Authentication with Base64 encoded "username:api_token". It works for all users except one. 

We have tried to use as a username her email adress as displayed in Jira as well as the part before the @. These did not work.

She just generated a fresh API token for us to try. 

A request to https://apploft.jira.com/rest/api/2/myself via Postman returns for (only her) credentials 401 - Client must be authenticated to access this resource. 

Does anyone have any idea left?

1 answer

0 votes
Fadoua Community Leader Dec 25, 2020

@patrick.durasiewicz 

Basic troubleshooting questions, just to make sure that you covered all of them:

  • Did you compare the user's access, groups, permissions to someone's who is not facing this issue?
  • Did you try the api call from different browsers?
  • Can someone log from their computer and try the user's credentials to see if it will work?
  • Did the user had this working before? If yes what change was made in between to her account?

Best,

Fadoua

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,184 views 8 28
Join discussion

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