当我尝试将某项活动发布到Google+时,我收到了错误消息:
{
"error": {
"code": 403,
"message": "Access Not Configured. The API (Google+ Domains API) is not enabled for your project. Please use the Google Developers Console to update your configuration.",
"errors": [
{
"domain": "usageLimits",
"message": "Access Not Configured. The API (Google+ Domains API) is not enabled for your project. Please use the Google Developers Console to update your configuration.",
"reason": "accessNotConfigured",
"extendedHelp": "https://console.developers.google.com"
}
]
}
}
我知道在here之前已经问过这个问题,但我的错误中有不同的消息。我还在控制台中启用了Google Domains API。我正在使用Gmail帐户,我还会收到以下范围的圈子和联系人信息:
https://www.googleapis.com/auth/userinfo.email
https://www.google.com/m8/feeds https://www.googleapis.com/auth/plus.login
https://www.googleapis.com/auth/plus.stream.write
https://www.googleapis.com/auth/plus.me
我的帖子是:
{
"object": {
"originalContent": "Happy Monday! #caseofthemondays"
},
"access": {
"items": [
{
"type": "domain"
}
],
"domainRestricted": true
}
}
答案 0 :(得分:1)
发现此功能仅适用于Google Apps客户,而非其他任何人。 Reference
答案 1 :(得分:0)
您是否在Google项目中创建(或使用)了API_KEY? 如果没有,请转到Google开发人员控制台,然后选择API&下的凭据部分。验证并创建与您的应用程序相关的API密钥。 如果您已有密钥,请尝试重新生成新密钥