谷歌API的403错误

时间:2012-08-22 09:05:00

标签: python google-app-engine

我使用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>

这就是为什么?

1 个答案:

答案 0 :(得分:0)

两个可能的原因: -

  1. 当我尝试使用未注册或超出每日限制的身份验证密钥进行访问时,出现错误:

    {
            "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"
            }
            }

  2. http://www.google.com/support/enterprise/static/gapps/docs/admin/en/gads/admin/troubleshooting_common.html