【问题标题】:Unable to update an entity in azure table storage using azure node.js sdk无法使用 azure node.js sdk 更新 azure 表存储中的实体
【发布时间】:2013-10-09 22:50:39
【问题描述】:

我正在使用 node-v0.8.21。我正在使用 azure node.js sdk 来处理 azure 表存储操作。它在大多数情况下都可以正常工作,但是当我的表的 PartitionKey 中有空格时,更新该实体会引发错误,如下所示。

{ [Error: [object Object]]
  code: 'AuthenticationFailed',
  message:
   { _: 'Server failed to authenticate the request. Make sure the value of Autho
rization header is formed correctly including the signature.',
     '$': { 'xml:lang': 'en-US' } } }

有什么办法可以解决吗?

【问题讨论】:

  • 我刚试了一下,对我来说效果很好。你能分享一些更新失败的代码或实际数据吗?

标签: node.js azure express azure-table-storage


【解决方案1】:

由于 node.js 版本以及一些缺少的 azure 节点模块而发生此问题。我安装了 0.8.4 node.js 版本并使用 npm install azure 命令重新安装了 azure 节点模块,它开始正常工作。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-09-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-06-10
    相关资源
    最近更新 更多