I try to get data from Jira API with aiohttp session request and it's failed with 401. Yes the problem is providing login and password (not token), but its work with requests. This work: r = requests.get("my_jira_url", auth=(login, password)) assert r.status_code == 200 And this fail: async with ClientSession(jira_root_url, auth=BasicAuth(login, password)) as session: async with session.get(relativ_url) as resp: # I try to set auth here too assert resp.status == 200 # Here I got 401 Continue reading...