Unable to access custom search API of google

177 views
Skip to first unread message

Mohd Tanzeel

unread,
Dec 19, 2016, 7:18:54 AM12/19/16
to Google AJAX APIs, Ankit Saxena
Hi Support team

I am using below of my code to get custom google search on my website, but always getting the error message.

  1. domain:"usageLimits"
  2. message:"Bad Request"
  3. reason:"keyInvalid"
<html>
  <head>
    <title>JSON/Atom Custom Search API Example</title>
  </head>
  <body>
    <div id="content"></div>
    <script>
      function hndlr(response) {
 console.log(response);
          // handle result
      }
    </script>
    </script>
  </body>
</html>

Please update where I am missing

Thanks
Mohammad Tanzeel
Reply all
Reply to author
Forward
0 new messages