【问题标题】:Enable Google My Business API. Api calls failed启用 Google 我的商家 API。 API 调用失败
【发布时间】:2020-09-17 11:14:27
【问题描述】:

我尝试使用具有范围的访问令牌访问 GMB 帐户列表 api https://www.googleapis.com/auth/business.manage

{
"error": {
"code": 403,
"message": "Google My Business API has not been used in project xxxxxx before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/mybusiness.googleapis.com/overview?project=xxxxxx then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.",
"status": "PERMISSION_DENIED",
"details": [
  {
    "@type": "type.googleapis.com/google.rpc.Help",
    "links": [
      {
        "description": "Google developers console API activation",
        "url": "https://console.developers.google.com/apis/api/mybusiness.googleapis.com/overview?project=xxxxx"
      }
    ]
  }
]
}
}

每当我尝试提交请求时,我都会收到一封来自 GMB 的电子邮件 Your company already has a whitelisted project to access the Google My Business API. At this time, we are only whitelisting one project per business..

我检查了,但没有名为 Google My Business 的库。

当前启用的库是

【问题讨论】:

    标签: google-api google-api-client google-apis-explorer google-my-business-api


    【解决方案1】:

    您是否已提交表单以访问 GMB API? https://docs.google.com/forms/d/e/1FAIpQLSfC_FKSWzbSae_5rOpgwFeIUzXUF1JCQnlsZM_gC1I2UHjA3w/viewform

    填写时,您必须准确填写 Google 将授予访问权限的电子邮件地址。也许其他人为您的公司填写了信息,但没有提及您的电子邮件地址。

    就我而言,当我收到 GMB 团队的确认电子邮件时,我在控制台中搜索时能够看到 GMB API(见屏幕截图)

    然后,我所要做的就是单击以启用它。

    【讨论】:

    • 已经提交。其他项目存在问题,我们已向他们发送电子邮件,他们删除了旧项目。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-15
    • 1970-01-01
    • 2018-06-10
    相关资源
    最近更新 更多