Forums

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

Getting error while creating a new session using the Jira REST API

Abhishek Das October 30, 2021

Error Message:

{
    "errorMessages": [
        "You are not authenticated. Authentication required to perform this operation."
    ],
    "errors": {}
}
Tool Used: Postman
The password and username is correct as per my knowledge

3 answers

0 votes
Kishan Sharma
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 31, 2021

Welcome to the Atlassian Community @Abhishek Das 

For which rest api endpoint are you getting this error ?

Abhishek Das October 31, 2021
Kishan Sharma
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 1, 2021

For confluence I couldn't find such end point, can you share the document where you found it ? For Jira, that endpoint is available.

Kishan Sharma
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 7, 2021

Also as per the screenshots you posted in other response, in postman tool you need to pass the username/password in Authorization section.

0 votes
Nic Brough -Adaptavist-
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.
October 30, 2021

It is probably the code not sending the right thing, rather than the credentials.

I'm afraid we can't help you without seeing the code that is failing.

Abhishek Das October 31, 2021

Capture.PNGCapture1.PNG

0 votes
Fabian Lim
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 30, 2021

Hi @Abhishek Das

Can you share your code? Hard to help without more details.

Abhishek Das October 30, 2021

Well,  I was doing it through POSTMAN tool.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events