云函数访问访问数库 missing secretId?

发布于 8 年前作者 kfan14631 次浏览最后编辑 8 年前来自 issues

之前是可以使用的,不知道为什么会遇到这个错误

[error] Unhandled Rejection at: Promise {<rejected>: Error: missing secretId or secretKey of tencent cloud

    at doRequest (D:\__\mp-sa\cloudfunctions\…} reason: Error: missing secretId or secretKey of tencent cloud

1 回复
taoren
taoren1 楼6 年前

我也遇到同样的问题,就是云函数本地调试的时候出现的,但是云环境运行正常。不管我怎么配置本地调试的环境都没用…哭了