Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Basic Authentication Failure - Reason : AUTHENTICATION_DENIED

Hello. I am trying to access the confluence rest api and I am getting 401 Unauthorized.

the url i am trying to acces is https://domain-name/rest/api/content

Yesterday I used the api for the first time, i generated api token in attlasian account, i managed to connect via Postman, acces some descendants etc, but today I am getting error. The only different thing i made is that i generated another token and discarded the old one. For username i am using the full email. 

In my attlasian account the yesterday token appeared as never used before i erased it.

I even tried to manually build the authorization header but I had no success.

I saw all the other topics about this subject, i followed every step and i cannot see what the problem is. 

1 answer

0 votes
Prince Nyeche Community Leader May 25, 2021

Hi @Maria Brobonea 

Is the instance accessible from your browser and are you able to login normally from there?

Hi, yes, I can log into confluence and jira form the browser.

Prince Nyeche Community Leader May 26, 2021

Good, now can you try to access that endpoint you want on the browser and see if you get a response. You might want to open up your developer console (Network tab) to see the response you get.


The status of the request is 200.

Trying to access the same link with basic Auth will generate the Unauthorized error.

Prince Nyeche Community Leader May 27, 2021

Getting such results, I don't think you have access to such content and also this might be a permission problem.

Suggest an answer

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

Confluence Bingo Round 3!

That’s right! Grandma’s back at it again, and this time she’s brought all her friends. In honor of Team '21, this Bingo round is dedicated to all things team-related, and the prizes are no exception....

2,908 views 31 22
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