Good Day Gammers!,
GAM verion:
GAMADV-XTD3 6.32.05
Facing an issue with this command:
gam print users allfields
Getting all Users, may take some time on a large Google Workspace Account...
Got 10000 Users:
ralph-...@whereiwork.com - bobby...@whereiwork.comUser Print Failed: Invalid Input
Same if just gam print users
Tried enabling debug
gam config debug_level 1 print users allfields
Got this failure message:
reply: 'HTTP/1.1 400 Bad Request\r\n'
header: Vary: Origin
header: Vary: X-Origin
header: Vary: Referer
header: Content-Type: application/json; charset=UTF-8
header: Content-Encoding: gzip
header: Date: Tue, 14 Feb 2023 13:22:07 GMT
header: Server: ESF
header: Cache-Control: private
header: X-XSS-Protection: 0
header: X-Frame-Options: SAMEORIGIN
header: X-Content-Type-Options: nosniff
header: Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
header: Transfer-Encoding: chunked
ERROR: JSON: {'error': {'code': 400, 'message': 'Invalid Input', 'errors': [{'message': 'Invalid Input', 'domain': 'global', 'reason': 'invalid'}]}}
User Print Failed: Invalid Input
I don't think its GAM specific as, if I try to export user from the admin console, it too errors out:
Can't prepare user info CSV file
Hide details
Started on Feb 14, 2023, 7:54:59 AM
Failed on Feb 14, 2023, 7:55:12 AM
Maybe a bad character in a newly created/modified user?
Any advice on how to track it down would be much appreciated.
Best Regards