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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.