您好, 欢迎来到 !    登录 | 注册 | | 设为首页 | 收藏本站

python – Google Cloud – oauth2client.client.HttpAccessTokenRefreshError:invalid_grant

5b51 2022/1/14 8:22:02 python 字数 2215 阅读 728 来源 www.jb51.cc/python

我在尝试执行Google Prediction API时收到此错误消息.raise HttpAccessTokenRefreshError(error_msg, status=resp.status) oauth2client.client.HttpAccessTokenRefreshError: invalid_grant 我的凭证详情{ 'sco

概述

我在尝试执行Google Prediction API时收到此错误消息.

raise HttpAccessTokenRefreshError(error_msg,status=resp.status)
oauth2client.client.HttpAccessTokenRefreshError: invalid_grant

我的凭证详情

{
    "scopes": [],"private_key": "XXXXX","id_token": null,"token_uri": "https://accounts.google.com/o/oauth2/token","token_info_uri": null,"token_response": null,"client_id": null,"scope": "https://www.googleapis.com/auth/prediction https://www.googleapis.com/auth/devstorage.read_only","token_expiry": null,"_class": "SignedJwtAssertionCredentials","refresh_token": null,"_module": "oauth2client.client","private_key_password": "notasecret","access_token": null,"service_account_name": "account-1@myapp-1136.iam.gserviceaccount.com","invalid": false,"assertion_type": null,"kwargs": {},"client_secret": null,"revoke_uri": "https://accounts.google.com/o/oauth2/revoke","user_agent": null
}

oauth2client.client.HttpAccessTokenRefreshError: invalid_grant: Bad Request

总结

以上是编程之家为你收集整理的python – Google Cloud – oauth2client.client.HttpAccessTokenRefreshError:invalid_grant全部内容,希望文章能够帮你解决python – Google Cloud – oauth2client.client.HttpAccessTokenRefreshError:invalid_grant所遇到的程序开发问题。


如果您也喜欢它,动动您的小指点个赞吧

除非注明,文章均由 laddyq.com 整理发布,欢迎转载。

转载请注明:
链接:http://laddyq.com
来源:laddyq.com
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。


联系我
置顶