Google自定义搜索从我的应用中返回此403错误。这是从我的手机运行时的响应:
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
}
],
"code": 403,
"message": "Access Not Configured. Please use Google Developers Console to activate the API for your project."
}
}
这里给出了iOS版本的解决方案:
Google Custom Search: 403 error in iOS
感谢您对错误的想法!