gpt4 book ai didi

api - Google+ 域 API v1。错误 403 "Access not configured"

转载 作者:行者123 更新时间:2023-12-04 13:49:58 24 4
gpt4 key购买 nike

我开始使用 google+ API,但我在验证时遇到问题,即使是在 Google Playground 中也是如此。

我想做一件很简单的事情,就是得到我的用户圈子里的人,所以,我使用范围:

/auth/plus.circles.read/auth/plus.me

我请求:

https://www.googleapis.com/plusDomains/v1/people/me/circles

在 Google PlayGround 和 API 页面中 https://developers.google.com/+/domains/api/circles/list这允许你测试它,他们都给我回复:

{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured"
}
],
"code": 403,
"message": "Access Not Configured"
}
}

这很奇怪,因为它说我的访问权限没有配置,但应该是。我什至尝试添加 google+ 域 API 的所有范围...

提前致谢

最佳答案

有点像 Akash 所说的 - 检查 API 是否已启用。 Google+ 域 API 不同于主要的 Google+ API,因此您需要确保两者都已启用:

Enabling an API in the Google Cloud Console

还要确保您正在测试的用户是域的成员,并且您拥有适当的权限。这不是用于一般功能的 API - 它专门用于管理 Google Apps for Business 域内用户的 Google+ 帐户,因此如果您使用 @gmail.com 用户或类似用户对其进行测试,可能会遇到问题。

关于api - Google+ 域 API v1。错误 403 "Access not configured",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19352669/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com