Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence rest API failed with 401 error


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


1 answer

0 votes
Fabian Lim Community Leader Dec 24, 2021

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

🏠 Say hello to the new Confluence Home!

Hi Atlassian Community, My name is DJ Chung, and I’m a Product Manager on the Confluence Cloud team. Today, I’m excited to share a new and improved version of Home. The new Home helps you ...

43,892 views 33 137
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you