A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Exception "Can't find variable: FindApi at global code"

Fixed in

EPiServer.Find 13.4.2

(Or a related package)

Created

Feb 08, 2021

Updated

Dec 07, 2022

Area

API

State

Closed, Fixed and tested


Description

Issue where exceptions 'Can't find variable: FindApi at global code' and 'FindApi is not defined at <no_method>' are displayed.

The FindApi() function should not be executed from find.js, if it could not be loaded in the browser.

See this forum post for more details and solution.