gpt4 book ai didi

azure - DocumentDB UnauthorizedException : "The MAC signature found in the HTTP request is not the same as the computed signature."

转载 作者:行者123 更新时间:2023-12-03 23:23:16 28 4
gpt4 key购买 nike

从 DocumentDB 请求文档时,我偶尔会遇到 UnauthorizedException。该问题看起来类似于 Azure DocumentDB - The MAC signature found in the HTTP request is not the same as the computed signature ,所以我相信问题还没有解决。

Microsoft.Azure.Documents.UnauthorizedException : 
Message: "The MAC signature found in the HTTP request is not the same as the computed signature.
Request URI: rntbd://db5prdddc01-docdb-1.documents.azure.com:14245/apps/35e0fabb-e03e-48d4-90ad-7b91b63c0153/services/9bb95f7b-9ad6-4128-a66a-de68279d5124/partitions/44a24d42-a85c-42cc-98c4-fc8a733245ac/replicas/130953283548138839p/

更新:问题已解决,特别感谢 Andrew Liu!

最佳答案

检查静态客户端方法。您可能错误地使用了带有只读 key 的客户端。

尝试使用只读 key 写入会引发该异常。

关于azure - DocumentDB UnauthorizedException : "The MAC signature found in the HTTP request is not the same as the computed signature.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34461988/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com