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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Unable to connect to JIRA using REST API Postman

I am getting Forbidden (403) error while  fetching an existing issue details using Postman

URL : https://itas-jira.XX.XX.XX/rest/api/2/issue/777

Basic Authentication with Username and Token


1 answer

0 votes
Hana Kučerová Community Leader Dec 06, 2022

Hi @Veda ,

welcome to the Atlassian Community!

According to URL you have server / DC version of Jira, so you need to use  password instead of token.

Hi Hana,


I tried both and still getting same 403 forbidden error. Please find more details below.

URL Postman & web Login :<Issue ID>

Username :  Used profile summary username mentioned in cloud login

Password Attempt 1 : Company Login password 

Password Attempt 2:  Personal access Token

Proxy : Using system

JIRA : v8.20.10

Hana Kučerová Community Leader Dec 11, 2022

Hi @Veda ,

thank you - this is obviously server / DC Jira, but you are mentioning cloud login. 

Username :  Used profile summary username mentioned in cloud login

Please, what is cloud login for you?

If you are able to log in to this Jira using username and password (using UI), the exact same credentials you will use in Postman for REST API.

Thank you Hana,

Cloud login I mentioned as the web UI login password which I am using,which is again a organization specific one which I am collectively using for all applications.

Could be an issue with my credentials. But I am able to login to Web UI successfully with same username and password. I tried to change the password but as there are more than 50 failed attempts of login (Probably from my postman hits) it is not allowing me to change the password. How can I reset my password with these many failed login hits from postman!

I just wanted to try again with the new credentials.



Hana Kučerová Community Leader Dec 13, 2022

@Veda I believe log out and log in should do the trick.

Hi Hana,


I tried to logout and relogin still I am getting the same error.

Hana Kučerová Community Leader Dec 22, 2022

Hi @Veda ,

is it possible to contact your Jira admin and ask him to help you with reset of failed login attempts and set a new password?

Hi Hana,


Also I was trying to connect using REST API JAVA client to JIRA and I am getting below exception. Can you please help


HttpResponse<JsonNode> response = Unirest.get("<Num>")
.basicAuth("username", "Token")
.header("Accept", "application/json")


 com.mashape.unirest.http.exceptions.UnirestException: java.lang.RuntimeException: java.lang.RuntimeException: org.json.JSONException: A JSONArray text must start with '[' at 1 [character 2 line 1]
at com.mashape.unirest.http.HttpClientHelper.request(
at com.mashape.unirest.request.BaseRequest.asJson(

Hana Kučerová Community Leader Dec 26, 2022

@Veda I think the response is not formatted as JSON. Can you please find out, how does the response look like? 

Suggest an answer

Log in or Sign up to answer