【发布时间】:2015-03-28 15:32:47
【问题描述】:
我在使用 Google custom search API 时收到此消息。我得到了API key(服务器和浏览器)和search ID。
为什么它说usageLimits?限制是每天 100 次查询,但我运行程序的方式不到 100 次......
哪里出错了...请帮忙!!
"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."
}
【问题讨论】:
-
我一直在想办法回答这个问题,而不是简单地重复信息,但我做不到。也许仔细阅读消息并查找您不理解的术语?