Jump to content

Unauthorized access to internal API


Francesco

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 comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...