Google My Business API失败

时间:2016-05-17 20:24:22

标签: google-my-business-api

收到一条奇怪的错误消息,我看起来几乎没有任何内容。授予对Google My Business API的访问权限,按照此处的说明操作;

https://developers.google.com/my-business/content/get-started

一切顺利,但预期的200响应实际上是以下;

{
  "error": {
    "status": "PERMISSION_DENIED", 
    "message": "The request was blocked. Quota configuration not found for the requesting project.", 
    "code": 403, 
    "details": [
      {
        "violations": [
          {
            "description": "The request was blocked. Quota configuration not found for the requesting project.", 
            "subject": "project:XXXXXXXXXX"
          }
        ], 
        "@type": "type.googleapis.com/google.rpc.QuotaFailure"
      }
    ]
  }
}

任何人都知道如何在Google Developer Console中添加配额,或者,如果此消息可能是过期权限的结果? (2月份获得访问权限,直到现在才使用?)

1 个答案:

答案 0 :(得分:0)

当您所讨论的项目没有通过官方流程授予的Google My Business API访问时,您就会得到这些内容。当我使用正确的项目时,我得到了200,一切都很好。

所以说小巴伙伴们自己,他们当天回复了我的电子邮件!