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 Microsoft.Bot.Connector.DLL
Error happens when try to setPrivateConversationData Below the error on Emulator:
"key": {
"channelId": "emulator",
"conversationId": "i99caeb8n2h7",
"userId": "default-user"
},
"state": {
"eTag": "1506952139325",
"data": {
"ResumptionContext": {
"locale": "en-US",
"isTrustedServiceUrl": true
},
"DialogState": "H4sIAAAAAAAEAOx9B2AjWX........",
"ServiceUrl": "http://localhost:1460"
}
}
}
Response:
{
"error": {
"code": "MessageSizeTooBig",
"message": "State size exceeded configured limit."
}
}
Thank you everyone