Google apps script 谷歌自定义搜索引擎错误代码403:未配置访问权限
我正在尝试使用谷歌自定义搜索API 我遵循doc,我完成了控制面板的工作,也获得了搜索引擎ID,实现了API,并从开发者控制台获得了API密钥 公共API访问密钥-AIzaSyC0m8w-NEP3YRKOLBOBLBHLHMHJC_cB0 搜索引擎ID-005717290701474541337:1mc___r_i94 在提出上述要求后,我得到了这个结果Google apps script 谷歌自定义搜索引擎错误代码403:未配置访问权限,google-apps-script,google-custom-search,Google Apps Script,Google Custom Search,我正在尝试使用谷歌自定义搜索API 我遵循doc,我完成了控制面板的工作,也获得了搜索引擎ID,实现了API,并从开发者控制台获得了API密钥 公共API访问密钥-AIzaSyC0m8w-NEP3YRKOLBOBLBHLHMHJC_cB0 搜索引擎ID-005717290701474541337:1mc___r_i94 在提出上述要求后,我得到了这个结果 { "error": { "errors": [ { "domain": "usageLimits", "re
{
"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."
}
}
我没有得到预期的结果,所以请帮助我。。
谢谢一切似乎都正常,这可能是API关键问题。
尝试为浏览器创建一个API密钥,它可能会工作Ohh是的,我使用的是Android密钥。谢谢