atlassian-python-api
atlassian-python-api copied to clipboard
Bitbucket repo_users fails with a 429 and is not handled properly
https://github.com/atlassian-api/atlassian-python-api/blob/master/atlassian/bitbucket.py#L168
The return fails when the rate limit on the server was reached and there's no clear indication of what the problem is or what the error was.
I had to fork the project and edit the code to find out what's going on.
I used the following for testing
resp = self.get(url, params=params)
print(resp)
return (resp or {}).get('values')

Before my change I was getting this error message:

I'm not across the whole code base, so I'm not sure where would be the best place to add that check.
PR #904 might address this