A few days ago, I used an App password to call the Bitbucket API to download a repository. Later, I tried to do the same with API Token, with the 'Email' and API token,
requests.get(repo_url, auth=HTTPBasicAuth(email, appAPIToken))
I'm getting a response code of 401.