'400 Client Error: Bad Request for url: https://gerrit.googlesource.com/a/projects/%2F

I get this error with simple get request. Below is the code, am I missing something ? Thanks for your help.

from gerrit import GerritClient client = GerritClient(base_url="https://gerrit.googlesource.com", username='', password='')

client.projects.list()



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source