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

Cloud API Authorization - Postman not working

Definitely new to this ...and struggling.

If I'm logged into my cloud account, can put the https://xxxx.atlassian.net/rest/api/2/search into the same browser and come up with the 50 or so issues.

Go to Postman, and getting 401 Unauthorized.  I'm using basic authentication, with my email that I log into jira along with API key I generated.  I've also tried to use email:apikey converted to base64 - that also gives me the 401 Unauthorized.

 

Postman ScreenShot.jpg

Can anyone let me know what step is missed here?

1 answer

0 votes
Hana Kučerová Community Leader Nov 28, 2021

Hi @Tim Barrow ,

I've checked my configuration and it is the same - Basic Auth: email + API token.

When I for example add one letter to the API token, I got the same error message, so are you 100% sure you've filled it up correctly? Sometimes spaces are added in the beginning or the end of the token and then the token is invalid.

Checked for additional spaces (used notepad++ to make sure there wasn't something extra added).  Showed the password and made sure it matched the API token that I generated.  Made sure that the email exactly matched what was on my site.

 

Unfortunately none of this worked.

Hana Kučerová Community Leader Dec 26, 2021

Hi @Tim Barrow ,

thank you, this is really strange, it should work.

Another idea - maybe you can try to create a new token?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

How we use Jira Service Management for our recruitment process! - Part 2

It is never about setting up a process and being done with it. Rather, the focus should always be on optimizing it for the best outcomes. Thus, we didn’t stop at setting up JSM for our recruitment pr...

183 views 0 5
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