Forums

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

Latest Python JIRA API not able to access server with newly issued API token

Graham Meaden February 22, 2020

On a JIRA cloud installation I have been able to access the server using the API and user tokens using the latest Python API. 

However, while I was able to do this, the JIRA connection would only work with a certain user profile.  When I deviated from the user profile, the connection failed.  I do not understand and I cannot deduct from Atlassian documentation how an API token is associated with a user profile.  Although I have all rights, my user token would not work.

I then revoked the user that was working, as it was just a test user.  Now, I cannot connect to the JIRA server at all.

I normally log-on via google account. BUt reading some documentation, it says log-on with your email address.  then create API token. I did this but to no effect.

I get the following error three times (domain name anonymised).

WARNING:root:Got recoverable error from GET https://xxx.atlassian.net/rest/api/2/serverInfo, will retry [1/3] in 9.49681069809291s. Err: 401 

 

Any ideas what is going on?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events