我使用OAuth2.0的Google API,但有些可以,有些是错误。
Server responded with: 403, <HTML>
<HEAD>
<TITLE>You are not authorized to access this API</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>You are not authorized to access this API</H1>
<H2>Error 403</H2>
</BODY>
</HTML>
这就是为什么?
答案 0 :(得分:0)
两个可能的原因: -
当我尝试使用未注册或超出每日限制的身份验证密钥进行访问时,出现错误:
{ "error": { "errors": [ { "domain": "usageLimits", "reason": "dailyLimitExceededUnreg", "message": "Daily Limit Exceeded. Please sign up", "extendedHelp": "https://code.google.com/apis/console" } ], "code": 403, "message": "Daily Limit Exceeded. Please sign up" } }