【发布时间】:2018-10-01 08:10:10
【问题描述】:
我正在使用 azure-botbuilder 构建机器人应用程序。机器人会话状态正在通过此
在 azure 表存储中进行管理var azureTableClient = new azure.AzureTableClient(environment.config.BOT.TABLE_NAME, environment.config.BOT.STORAGE_NAME, environment.config.BOT.STORAGE_KEY);
var tableStorage = new azure.AzureBotStorage({gzipData: false}, azureTableClient);
对于某些活动(不幸的是很难跟踪哪些活动)-我从 azure table 服务收到以下错误
Error: Failed to perform the requested operation on Azure Table. Message: The property value exceeds the maximum allowed size (64KB). If the property value is a string, it is UTF-16 encoded and the maximum number of characters should be 32K or less.
RequestId:5b6ad583-6002-002a-62c1-583676000000
我当然不会在我的会话中存储 64 KB 这样大的东西。我们在机器人状态中存储了一些 UUID、GUID 和布尔值。
我如何追踪这些产生错误的请求?我可以以某种方式覆盖 tableStorage 来告诉我发送的请求详细信息是什么,会产生这样的错误。到目前为止,表存储是一个黑盒子
【问题讨论】:
标签: node.js azure botframework azure-table-storage