【问题标题】:Google Custom Search Api keeps giving me "usageLimits" errorGoogle Custom Search Api 不断给我“usageLimits”错误
【发布时间】:2015-03-12 17:50:31
【问题描述】:

我最近使用 Google 的自定义搜索 API 注册了一个密钥。我达到了每日限额,因此注册了计费以启用更多请求。但是,我不断收到“usageLimit”错误。

在我的项目的结算设置中,我看到结算已启用。在 Enabled Api 中,我看到“自定义搜索 API”。

这是我的查询:

https://www.googleapis.com/customsearch/v1?cx=(searchenginekey)&q=flower&rights=cc_publicdomain&key=(myprojectkey)

我做错了什么? 即使我在资源管理器中测试它http://developers.google.com/apis-explorer/?hl=en_US#p/customsearch/v1/search.cse.list

我明白了:

{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "keyInvalid",
    "message": "Bad Request"
   }
  ],
  "code": 400,
  "message": "Bad Request"
 }
}

【问题讨论】:

    标签: google-api google-custom-search


    【解决方案1】:
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-08-27
    • 2018-10-09
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多