BotFramework: 'State size exceeded configured limit.'

后端 未结 1 1337
余生分开走
余生分开走 2021-01-24 07:40

I\'m devloping a bot and whenever I PostAsync herocards (50 hero cards) in a formflow, in the end it gives me an error message: \'State size exceeded configured limit.\' from Mi

相关标签:
1条回答
  • 2021-01-24 08:02

    Per the docs, there is a limit on the amount of data you can store using the default State capabilities. Each state store (i.e., user, conversation, and private bot data bag) may contain up to 64kb of data.

    You will have to store less info or to provide your own storage mechanism.

    The following article shows how to manage state data using CosmosDb: https://docs.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-state-azure-cosmosdb

    0 讨论(0)
提交回复
热议问题