Forums

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

REST API Stopped Working

Lee Daniel
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!
July 1, 2019

The REST API is no longer working today. We are using basic authentication. I am able to login to the website using the credentials and view issues. I'm no longer able to use the username and password via REST. I get a 401 unauthorized response.

I have generated an API token for the account. That gets rid of the 401, but replaces it with the following 404 error message:

{
"errorMessages": [
"Issue does not exist or you do not have permission to see it."
],
"errors": {}
}

 

I've confirmed that the user has access through the website. We have had this integrated for about 2 years now. What has changed? How do I fix this?

1 answer

1 accepted

0 votes
Answer accepted
Lee Daniel
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!
July 1, 2019

I found the combo. You have to generate an API token and use that with the email address of the account in Basic Auth. So, it's base64(email:api_token) as the bearer header.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events