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?