'LogicalError: Invalid API Endpoint' From Clerk.js
Find out how to fix this error ‘LogicalError: Invalid API Endpoint’ From Clerk.js.
Platforms:
Clerk.io’s Javascript library Clerk.js uses the specialised class “clerk”, to look for the embedcodes that are used to render results.
If you see the “Invalid API Endpoint” error in your browsers console, it usually means the class “clerk” has accidentally been used in your HTML somewhere.
For example:
To fix this, simply rename the class to something else. Any class except “clerk” can be used for styling: