AI OnAI Off
Hey Danie
What version of Commerce/Find are you using? This was added as a capability in Find 9.0 so want to make sure you are fully up to date.
It may also be worth dropping your old index and creating a new one.
David
Hi David,
thanks for your reply. I've created a new index, but get the same error. Our Commerce version is 8.9.0 and Find is 9.0.0.2183
Thanks,
Danie
Old thread, but for completeness, you need to install the EPiServer.Find.Commerce package in order to save best bets targeting Commerce content.
Hi,
When using the EPiServer Find interface (/Find/#manage/optimization/bestbets) to setup a "Best Bet" that links to a commerce variant page, EPiServer Find fails with the following error:
Unable to load /epiui/edit/Find/api/bestbets/ status: 500
The POST is to Find has the following:
{"Message":"An error has occurred.","ExceptionMessage":"Sequence contains no matching element","ExceptionType":"System.InvalidOperationException","StackTrace":" at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)\r\n at EPiServer.Find.UI.BestBetManager.GetBestBetSelector(String targetKey, String targetTypeName, String language)\r\n at EPiServer.Find.UI.BestBetManager.Create(String id, BestBetModel model)\r\n at EPiServer.Find.UI.Controllers.BestBetsController.Put(String id, BestBetModel input)"}
The "Best Bets" interace screen works when linking to an external or a EPiServer CMS page.
Thanks