嗨亲爱的,我正在使用youtube api / v3。我创建了一个Api键(不是浏览器键)。我在我的帐户上启用了所有必要的API。但是我遇到了这个错误,我在这里发布。
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "ipRefererBlocked",
"message": "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 API key configuration if request from this IP or referer should be allowed.",
"extendedHelp": "https://console.developers.google.com"
}
],
"code": 403,
"message": "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 API key configuration if request from this IP or referer should be allowed."
}

这是我的查询网址url 任何有关我的问题的帮助将不胜感激。谢谢提前
答案 0 :(得分:0)
在Google Developers Console> API Manager>证书。查看接受来自这些HTTP引荐来源(网站)的请求部分。