【发布时间】: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