Hi I am using a headless sdk and global function and I would like to ask what I missed when using KnowledgeService Plugin that it generated an error during execution. I attached the screenshot.
What I did is the following:
Turn on Knowledge Articles in Message Configuration -> Apps -> Knowledge Articles
This error can happen if you are trying to call a plugin command before its loaded and initialized. Please subscribe to KnowledgeService.ready event before calling its command, in this way your command is acknowledged by that plugin.
I tried subscribing to KnowledgeService.ready and it was never invoked. Then I tried Knowledge.ready as well and it was never invoked. Did I miss some other steps?