当我尝试发布一个活动到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"
}
]
}
}
我知道这个问题之前已经问过了,但是我的错误中有不同的信息。我还在控制台中启用了Google Domains API。我使用的是Gmail帐户,我还收到了以下范围的圈子和联系人信息:
https://www.googleapis.com/auth/userinfo.emailhttps://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
}
}
发现此功能仅适用于Google Apps客户而不是其他人。参考
您是否在您的Google项目中创建(或使用)API_KEYs ?如果没有,转到Google开发者控制台,选择api &验证并创建与应用程序相关的API密钥。如果您已经有一个键,请尝试重新生成一个新的