问题描述
我开始使用谷歌+ API,但我得到验证的问题,甚至在谷歌游乐场。
I am starting to use the google+ API, but I am getting problems authenticating, even in the Google Playground.
我想要做一件很容易的事情,这是我得到用户的圆圈人,所以,我使用的范围:
I want to do a very easy thing, which is get the circled people of my user, so, I use the scopes:
/auth/plus.circles.read
/auth/plus.me
/auth/plus.circles.read/auth/plus.me
和我的要求:
在这两种谷歌操场上,并在API页面它允许你进行测试,他们俩给我的回应:
In both Google PlayGround, and in the API page https://developers.google.com/+/domains/api/circles/list which allows you to test it, both of them give me the response:
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured"
}
],
"code": 403,
"message": "Access Not Configured"
}
}
这是奇怪的,因为它说,我在我的访问没有配置,但它应该是。我甚至尝试加入谷歌+域API的所有范围...
It is strange, because it says that I my access is not configured, but it should be. I even try adding all the scopes of google+ domain API...
在此先感谢
推荐答案
什么样的阿卡什说 - 检查API已启用。借助Google+ API域比主Google+的API不同,所以你需要确保同时启用:
Kind of what Akash said - check the API is enabled. The Google+ domains API is different than the main Google+ API, so you'll need to ensure both are enabled:
另外,还要确保你与测试用户是域的成员,并且具有相应的权限。这不是一般功能的API - 其专门为管理Google+帐户为谷歌Apps中的用户商业领域,所以你可能有麻烦,如果你与@ gmail.com用户或类似测试它
Also make sure that the user you're testing with is a member of the domain, and you have appropriate permissions. This isn't an API for general functionality - its specifically for managing the Google+ accounts for users within a Google Apps for Business domain, so you might have trouble if you're testing it with a @gmail.com user or similar.
这篇关于Google+的API域V1。错误403"访问未配置"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!