When you create a Website Search collection and add a domain, e.g. www.website.com, we only authorize searches from the domain that you have added. If a search request is made from a staging site or development site, e.g. www.staging.website.com or www.dev-website.com, you will get an authorization error i.e. "Authorization for this request failed. Check your credentials".
To test search in staging or development environments, you need add the domain or URL of the staging or development site in the Domains section of your Collection.
Make sure that the "Search from Domain" is enabled. You can also add and authorize IP addresses in the same way.
When you generate an interface via console for a Site Search collection, we return title, description, URL, and image(optional) in the search results. In some instances, you might want to hide title, description, or URL.
Our default interface uses URL field for click-tracking, and it must be returned in response, otherwise, the click-tracking won’t function. Hence, if you try to remove URL field, it will return an error:
To hide ‘title’ or the ‘description’ field from the search interface: