Trying to generate SA and got an exception saying The OAuth client was deleted while there is a brand new OAuth credential I just created. The script has worked well before and suddenly started to fail so I want to know why.
D:\Tools\AutoRclone\AutoRclone>python gen_sa_accounts.py --quick-setup 1 --new-only
Traceback (most recent call last):
File "gen_sa_accounts.py", line 323, in <module>
download_keys=args.download_keys
File "gen_sa_accounts.py", line 168, in serviceaccountfactory
creds.refresh(Request())
File "C:\Users\zippy\AppData\Local\Programs\Python\Python37-32\lib\site-packages\google\oauth2\credentials.py", line 327, in refresh
enable_reauth_refresh=self._enable_reauth_refresh,
File "C:\Users\zippy\AppData\Local\Programs\Python\Python37-32\lib\site-packages\google\oauth2\reauth.py", line 349, in refresh_grant
_client._handle_error_response(response_data, retryable_error)
File "C:\Users\zippy\AppData\Local\Programs\Python\Python37-32\lib\site-packages\google\oauth2\_client.py", line 70, in _handle_error_response
error_details, response_data, retryable=retryable_error
google.auth.exceptions.RefreshError: ('deleted_client: The OAuth client was deleted.', {'error': 'deleted_client', 'error_description': 'The OAuth client was deleted.'})
Trying to generate SA and got an exception saying
The OAuth client was deleted
while there is a brand new OAuth credential I just created. The script has worked well before and suddenly started to fail so I want to know why.