kbsearch outage - returning INVALID_ARGUMENT

£可爱£侵袭症+ 提交于 2019-12-11 05:37:46

问题


I've been using the Knowledge Graph API for a few months now. I just received a 400 "Request contains an invalid argument". I believe the API is having an outage or undocumented new requirement.

Here are instructions: https://developers.google.com/knowledge-graph/#sample_request

Here is a more specific example per the instruction. My API key is correct. Using an intentionally invalid API key produces an appropriate error.

https://developers.google.com/apis-explorer/?hl=en_US#p/kgsearch/v1/kgsearch.entities.search?indent=true&limit=1&query=taylor+swift&_h=4&

Exact query URL would be: https://kgsearch.googleapis.com/v1/entities:search?query=taylor+swift&key={api-key}&limit=1&indent=True


Update: It just started working again.

来源:https://stackoverflow.com/questions/45556863/kbsearch-outage-returning-invalid-argument

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!