Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/341.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google api 启用Google My Business API。Api调用失败_Google Api_Google Api Client_Google Apis Explorer_Google My Business Api - Fatal编程技术网

Google api 启用Google My Business API。Api调用失败

Google api 启用Google My Business API。Api调用失败,google-api,google-api-client,google-apis-explorer,google-my-business-api,Google Api,Google Api Client,Google Apis Explorer,Google My Business Api,我尝试使用具有作用域的访问令牌访问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 vis

我尝试使用具有作用域的访问令牌访问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提交请求时,我都会收到一封电子邮件
您的公司已经有一个白名单项目可以访问Google My Business API。目前,我们仅将每个企业的一个项目列入白名单。

我查过了,但是没有名为Google My Business的图书馆

当前启用的库是


您是否已提交表格以访问GMB API?

当你填写它时,你必须精确地说出谷歌将授予访问权限的电子邮件地址。也许有人替你的公司填写了表格,但没有提到你的电子邮件地址

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


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

已提交。有一些其他项目的问题,我们已经发送电子邮件给他们,他们删除了旧项目。