json - Get 403 error message when using Google custom search API -


i'm getting message when using google custom search api. got both api key(server , browser) , search id.

why says usagelimits? constraints 100 queries per day, ran program way less 100 times....

where going wrong... please help!!

"error": { "errors": [ { "domain": "usagelimits", "reason": "iprefererblocked", "message": "there per-ip or per-referer restriction configured on api key , request not match these restrictions. please use google developers console update api key configuration if request ip or referer should allowed.", "extendedhelp": "https://console.developers.google.com" } ], "code": 403, "message": "there per-ip or per-referer restriction configured on api key , request not match these restrictions. please use google developers console update api key configuration if request ip or referer should allowed." }

i think api key or cx parameter wrong. go custom search engine editor , recopy values.

make sure have added sites search.

try link on right hand pane test custom search engine works.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -