Youtube api v3 显示 "Access Not Configured" code:403
Youtube api v3 shows "Access Not Configured" code:403
我在开发人员控制台中创建了一个 Google 应用程序,打开了 "YouTube Data API v3",生成了服务器 API key.But 当我传递 api 密钥时在 API(Webservice) 中显示如下错误:
{
"error": {
"errors": [{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured. The API is not enabled for your project, or there is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your configuration.",
"extendedHelp": "https://console.developers.google.com"
}],
"code": 403,
"message": "Access Not Configured. The API is not enabled for your project, or there is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your configuration."
}
}
我该如何解决这个问题?
我有类似的问题,通过使用允许所有引用者的浏览器密钥解决了..
我在开发人员控制台中创建了一个 Google 应用程序,打开了 "YouTube Data API v3",生成了服务器 API key.But 当我传递 api 密钥时在 API(Webservice) 中显示如下错误:
{
"error": {
"errors": [{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured. The API is not enabled for your project, or there is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your configuration.",
"extendedHelp": "https://console.developers.google.com"
}],
"code": 403,
"message": "Access Not Configured. The API is not enabled for your project, or there is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your configuration."
}
}
我该如何解决这个问题?
我有类似的问题,通过使用允许所有引用者的浏览器密钥解决了..