move-coop / parsons

A python library of connectors for the progressive community.
Other
254 stars 125 forks source link

[Bug] GoogleAdmin connector doesn't work, all requests fail silently #1058

Open austinweisgrau opened 1 month ago

austinweisgrau commented 1 month ago

The GoogleAdmin connector has 3 methods. None of these methods can return any data. The methods will return an empty table. Digging in, every request returns an error (example below), but the connector does not notice the error and simply returns an empty Table instead.

{'error': {'code': 400, 'message': 'Bad Request', 'errors': [{'message': 'Bad Request', 'domain': 'global', 'reason': 'badRequest'}]}}

Detailed Description

To Reproduce

from parsons import GoogleAdmin

tbl = GoogleAdmin().get_all_groups()

Your Environment

Additional Context

Add any other context about the problem here.

Priority

Please indicate whether fixing this bug is high, medium, or low priority for you. If the issue is time-sensitive for you, please let us know when you need it addressed by.

I don't actually need this working, and based on context clues no one else currently does either. I just noticed this and so I'm logging the error.