Problems with adding a search engine to your site
I'm having problems with the iframe that displays my search results.
I'm having problems with Custom Search Element V1 implementation code that displays my search results.
Custom Search Element V1 hosting option for displaying your search results is no longer supported. Instead, try using Custom Search Element V2 code, which is a simpler way to configure the search box. Read more about Custom Search Element V2 layout.
I'm seeing the error message “Unauthorized access to internal API. Please refer to https://support.google.com/customsearch/answer/4542055” when I try access Custom Search Engine results.
Please try to refresh the search page and check.
This error is an indication of trying to directly access the Custom Search Engine’s internal API (‘v1element’). Please use the code snippet found in your CSE control panel. Learn more about Custom Search Element V2 setup.
For programmatic access use the public CSE JSON API.
Search results don't load.
- Check to see if it works in another browser.
Test your search engine using multiple web browsers (Chrome, Safari, Internet Explorer, Firefox, and Opera) to determine if the problem is browser-specific. If your search engine works in some, but not all of these browsers, let us know.
- Check your site's HTML.
Make sure your HTML page begins with the
- Try the original code snippet.
- Make sure the snippet's HTTP
If you obtained the auto-generated Custom Search code snippet, the protocol should be automatically determined for you. If you supplied your own custom search snippet, make sure it uses the same
http://protocol used for your site.
- Check for network errors.
- In Chrome, right-click the page, click Inspect Element, and then click the Console tab.