Forums

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

Getting a 401-Unauthorized Error on REST API for Bamboo intermittently

atltools January 19, 2018

Hi,

 

Getting a 401-Unauthorized Error on REST API for Bamboo intermittently.

 

Here are the some command outputs

bil@mini:~ %>curl -skv -o /dev/null -H 'Authorization: Basic YmFtYm9vX3VleDo0UFN1dm44OQ==' 'https://atlassian.hq.k.grp/bamboo_es/rest/api/latest/result.json?os_authType=basic&max-results=200&favourite&expand=results.result' 2>&1 | grep '< HTTP/1.1 '

< HTTP/1.1 401 Unauthorized

 

bil@mini:~ %>curl -skv -o /dev/null -H 'Authorization: Basic YmFtYm9vX3VleDo0UFN1dm44OQ==' 'https://atlassian.hq.k.grp/bamboo_es/rest/api/latest/result.json?os_authType=basic&max-results=200&favourite&expand=results.result' 2>&1 | grep '< HTTP/1.1 '

< HTTP/1.1 401 Unauthorized

 

bil@mini:~ %>curl -skv -o /dev/null -H 'Authorization: Basic YmFtYm9vX3VleDo0UFN1dm44OQ==' 'https://atlassian.hq.k.grp/bamboo_es/rest/api/latest/result.json?os_authType=basic&max-results=200&favourite&expand=results.result' 2>&1 | grep '< HTTP/1.1 '

< HTTP/1.1 200 OK

Any help on this appriciated.

 

1 answer

0 votes
Gonchik Tsymzhitov
Community Champion
November 23, 2019

Hi! 

As I see the last call was ok. 

I hope it was related to the some timeouts

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events