Bot context stack array is empty

Vladyslav Yashchuk 1 Reputation point


I have a question related to CosmosDB. I'm trying to solve an issue with the unstable work of the bot (you can find thread here ). I've connected a bot to the CosmosDB database. But after using CosmosDB as storage my bot stops going through any dialog. I console.log context.stack and found that array with dialogs stack is empty at any point of flow. I've tried to switch to memory storage and the bot works as expected. Also, I've checked items in the database container and there I see that state is empty, and stepIndex is zero. I've configured CosmosDB using this manual. Do I need to do any additional actions to start saving conversation state into database?

I would appreciate your help.

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
770 questions
{count} votes