Forums

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

JIRA rest api call returning 401

Tanya Awasthi May 7, 2019

The Jira Server is returning 401 error even though the credentials entered are correct . I can access the site through chrome but getting 401 when trying to access the same server from eclipse IDE. Basic authentication is used

1 answer

1 accepted

0 votes
Answer accepted
Elifcan Cakmak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 7, 2019

Hello,

We encountered this issue just a few days ago. I think the authentication method is changing:

https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-basic-authentication/

If you are using Cloud version, you can check out this documentation:

https://confluence.atlassian.com/cloud/api-tokens-938839638.html

You can authenticate by using the api token and your email address:

curl -v https://mysite.atlassian.net --user me@example.com:my-api-token

 Regards.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events