Invalid AST kak-lsp

Hello,

I have started using kak-lsp recently, I am getting c_cpp language server error invalide-AST error when I am in normal mode, otherwise, it is working perfectly when I am in insert mode.
Any thoughts??
Best regards,