我已经设法使用适用于 Youtube 的 Google API 获得了有效的 OAuth 2 令牌,但由于某种原因,在我的代码 (PHP) 或 Youtube API 内的测试工具中发出请求时(例如:https:// developer.google.com/oauthplayground/),我不断收到以下错误:
[errors] => Array(
[0] => Array(
[domain] => youtube.header
[reason] => youtubeSignupRequired
[message] => Unauthorized
[locationType] => header
[location] => Authorization
)
)
[code] => 401
[message] => Unauthorized
或者
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured"
}],
"code": 403,
"message": "Access Not Configured"
}
}
有人可以请教吗?
先感谢您。