I get this error when trying to trigger a CRM Function from Client Script:
Uncaught (in promise) ZDKError: {"code":"NOT_ACTIVE","details":{"api_name":"activate_client_from_prospect"},"message":"api is inactive for the given custom function","status":"error"}
What is causing this error?
This is my code:
console.clear();
let response = ZDK.Apps.CRM.Functions.execute("activate_client_from_prospect", { "id": $Page.record_id })
log(response);