Create
cancel
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

Rest-api: Basic Auth suddenly throws Unauthorized (401) at me

Hi,
I am currently working on a service that's going to back-up some pages from a specific space. 

During the development stage I have hard coded my own credentials in the service, so they have been untouched from day 1. About 1 hour ago all my requests, that previously have been working, now gives me 401.

Postman, which also worked at least yesterday, gets the same treatment.

Can I have done something to upset the API? In that case I would very much like to apologize to the API for my poor behavior, and also ask if there is a chance that we could restart our previously good relationship? 

Best Regards,

Mikael Ollhage

1 answer

1 accepted

1 vote
Answer accepted
Thomas Deiler Community Leader Apr 28, 2021

Dear @Mikael Ollhage ,

welcome to the community.

Have you tried to login with the browser? Is your account still valid? Was it locked? When the account is from AD (LDAP) it could have expired.

So long

Thomas

Thomas Deiler Community Leader May 10, 2021

Dear @Mikael Ollhage ,

was my answer useful? Then I would be happy when you click on the "green accept answer" button.

So long
Thomas

Sorry about that.

Yes, it was me being an idiot. It was in my efforts to produce different errors that I changed the password once, but since have a "retry all external communications 3 times before giving up"-parameter my account got locked.

Suggest an answer

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

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,377 views 7 29
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