Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有没有新的方法获取sa,AutoRclone现在获取sa会报错了 #212

Open
christan-duplicate opened this issue Oct 10, 2020 · 5 comments

Comments

@christan-duplicate
Copy link

有没有新的方法获取sa,AutoRclone现在获取sa会报错了

@dmuxue
Copy link

dmuxue commented Oct 26, 2020

尽量使用未删除过的项目,就不会报错

新的谷歌id

@Dingzhenpiyi
Copy link

我也是创建SA失败,请问有解决办法吗?

@Mrycp
Copy link

Mrycp commented Dec 29, 2020

我也是创建SA失败,404报错,接口直接请求不到,查看接口里提示:The request is missing a valid API key
googleapiclient.errors.HttpError: <HttpError 404 when requesting https://iam.googleapis.com/v1/projects/saf-giatwp59nehqekew-xfyrjiigu/serviceAccounts?pageSize=100&alt=json returned "Requested entity was not found.">

@lzkgbld
Copy link

lzkgbld commented Feb 1, 2021

我这边运行是报错
Traceback (most recent call last):
File "gen_sa_accounts.py", line 323, in
download_keys=args.download_keys
File "gen_sa_accounts.py", line 168, in serviceaccountfactory
creds.refresh(Request())
File "/usr/local/lib/python3.7/dist-packages/google/oauth2/credentials.py", line 206, in refresh
self._scopes,
File "/usr/local/lib/python3.7/dist-packages/google/oauth2/_client.py", line 248, in refresh_grant
response_data = _token_endpoint_request(request, token_uri, body)
File "/usr/local/lib/python3.7/dist-packages/google/oauth2/_client.py", line 124, in _token_endpoint_request
_handle_error_response(response_body)
File "/usr/local/lib/python3.7/dist-packages/google/oauth2/_client.py", line 60, in _handle_error_response
raise exceptions.RefreshError(error_details, response_body)
google.auth.exceptions.RefreshError: ('deleted_client: The OAuth client was deleted.', '{\n "error": "deleted_client",\n "error_description": "The OAuth client was deleted."\n}')

@zacred0rryn
Copy link

我这边运行是报错 Traceback (most recent call last): File "gen_sa_accounts.py", line 323, in download_keys=args.download_keys File "gen_sa_accounts.py", line 168, in serviceaccountfactory creds.refresh(Request()) File "/usr/local/lib/python3.7/dist-packages/google/oauth2/credentials.py", line 206, in refresh self._scopes, File "/usr/local/lib/python3.7/dist-packages/google/oauth2/_client.py", line 248, in refresh_grant response_data = _token_endpoint_request(request, token_uri, body) File "/usr/local/lib/python3.7/dist-packages/google/oauth2/_client.py", line 124, in _token_endpoint_request _handle_error_response(response_body) File "/usr/local/lib/python3.7/dist-packages/google/oauth2/_client.py", line 60, in _handle_error_response raise exceptions.RefreshError(error_details, response_body) google.auth.exceptions.RefreshError: ('deleted_client: The OAuth client was deleted.', '{\n "error": "deleted_client",\n "error_description": "The OAuth client was deleted."\n}')

我报的和这个几乎一模一样的错,不知道该怎么解决。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants
@christan-duplicate @zacred0rryn @Mrycp @lzkgbld @dmuxue @Dingzhenpiyi and others