Forums

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

GET API calls fails with 404 - Issue does not exist or you do not have permission to see it.

Shyam Raj Sampath
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 28, 2023

Hi I am trying to make rest API calls from my code and from POSTMAN, and they are failing with 404 : Issue does not exist or you do not have permission to see it.

 

I am able to make the same rest calls with Hoppscotch, which is also a rest API client.

 

$ curl --request GET \
> --url https://<client>.atlassian.net/rest/api/3/issue/ISSUE-3 \
> --header 'Authorization: Bearer API_TOKEN'
{"errorMessages":["Issue does not exist or you do not have permission to see it."],"errors":{}}

1 answer

1 accepted

0 votes
Answer accepted
Prince Nyeche
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.
February 28, 2023

You can use

$ curl --request GET \
> --url https://<client>.atlassian.net/rest/api/3/issue/ISSUE-3 \
> --header 'Authorization: Basic Base64_email:api_token'

I believe bearer only will work if you're using OAuth generated token. As the API key won't work in the issue API. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events