Jump to content

Unauthorized access to internal API


Recommended Posts

Using search box in a website page (eg. http://mtbfriuli.com/eng/guide.html) appears this error message: 

Unauthorized access to internal API. Please refer to https://support.google.com/customsearch/answer/4542055

Could it be related to API 2.0? How can it be solved? 

Thanks

Francesco 

In page header: 

        <!-- Google Search -->
        <script>
          (function() {
            var cx = '00000000000000000:aaaaaaaaaaaaaaaaa';
            var gcse = document.createElement('script');
            gcse.type = 'text/javascript';
            gcse.async = true;
            gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
            var s = document.getElementsByTagName('script')[0];
            s.parentNode.insertBefore(gcse, s);
          })();
        </script>

Link to post
Share on other sites
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...