Forums

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

Confluence rest API failed with 401 error

tony.vu
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!
January 19, 2021

Hi

We hosted confluence with our own server and in one of our app, we used confluence REST API to retrieve page content with basic authentication (aka username and password). The app has worked well for more than a year, but recently the API failed with 401 Unauthorised error. I hav tried different method:
- Using the API token instead
- Using email instead of username

But it always failed with 401 error. Please can you let me know how can I make the API work again.

The API endpoint: rest/api/content
method: get
parameter: title=?
error: Request failed with status code 401

Thanks

1 answer

0 votes
Fabian Lim
Community Champion
December 24, 2021

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events