Failed to configure JS snippet for Answers

I have been unable to properly configure the JS snippet for embedding Answers on a Yext-hosted Search Results page. I’ve tried via SubDomain as well without luck.

I have two page templates: Home Page w/ Answers Bar and Results Template with JS Snippet referenced.

Results Template properly referencing JS snippet:

The Domain appear to be configured properly (although unclear why .sbx is appearing in the domain name.

I get a 403 Forbidden error when trying to access directly:
https://answers-embed.grapeanswers.com.pagescdn.com/

Hi @Nick_Opderbeck

From what we can tell, the error here seems to stem from two different domains – there is a different domain assigned to your site than the one in your Domains tab listed as “Active”.

The one assigned to your site:

The one in your Domains tab is:

It seems the one assigned to your site is missing from the Domains tab - do you recall if you removed that Domain from your Domains tab?

If that’s correct, you’ll most likely want to recreate your site with the same repo (so as to not lose your edits and hard work on your answers experience) and then from there, assign the new domain. Let us know if you have any questions and/or would like more detail on how to do that.

Best,
Alyssa

Hi Alyssa - the .sbx was not added by me but by the system when I saved the domain as it appears in the JS snippet.

Which is odd b/c the other domain you show is not available in the list of domains. I did not delete the domain. I will try again and reply backk.

STEP 1: Add new domain - note .sbx

STEP 2: Associate with Answers Experience

STEP 3: New Answers Experience Shows a Different Domain Name (w/o .sbx)

I was unable to get the JS Snippet to work but was able to configure the Subdomain integration by referencing [subdomain].[domain].sbx.pagescdn.com in the CNAME record.