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? 



In page header: 

        <!-- Google Search -->
          (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);

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...