Hey Carolyn,
I think you have the right idea with adding a null check to the card! To do so, you can use the “Override Theme” command and navigate to directanswercards
> documentsearch-standard
to fork the default Featured Snippet card.
Once you do so, you can add a null check to the link’s data mapping:
viewDetailsLink: viewDetailsUrl ? Formatter.getUrlWithTextHighlight(snippet, viewDetailsUrl) : null
Best,
DJ