Google Calendar API会返回每日限制错误

问题描述 投票:1回答:1

尝试访问Calendar API时出现以下错误

{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "dailyLimitExceededUnreg",
    "message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.",
    "extendedHelp": "https://code.google.com/apis/console"
   }
  ],
  "code": 403,
  "message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
 }
}

但是,我检查了谷歌开发者控制台,我无法达到我的极限(当最大值为1,000,000时,我是2,500个查询)。此外,我不知道我是如何进行身份验证的,因为我使用OAuth 2.0凭据进行api调用。

google-api google-calendar-api
1个回答
-1
投票

如果它是enabaled,请从Google Developer Console检查Google Calendar API的状态。然后在转动API后等待几分钟。您必须确保每次尝试之前都会获得新令牌。

您还可以按照建议的操作来帮助您解决Google Calendar API Usage Limits错误。

© www.soinside.com 2019 - 2024. All rights reserved.