2024-01-09 20:52:01.845 ERROR [getTempCOS] TencentCloudSDKHttpException [Error]: The SecretId is not found, please ensure that your SecretId is correct.
at Client.parseResponse (/tmp/custom_dependency/node_modules/tencentcloud-sdk-nodejs/tencentcloud/common/abstract_client.js:154:33)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Client.request (/tmp/custom_dependency/node_modules/tencentcloud-sdk-nodejs/tencentcloud/common/abstract_client.js:76:28)
at async getTempUrl (evalmachine.<anonymous>:55:12)
at async exports.main (evalmachine.<anonymous>:30:17)
at async FunctionDebugExecutor.invoke (/app/dist/support/engine/executor.js:35:24)
at async invokeDebug (/app/dist/handler/invoke.js:142:24)
at async handleInvokeFunction (/app/dist/handler/invoke.js:31:16) {
requestId: ‘beb03b61-3dd2-4f8a-837f-cd1295adc549’,
code: ‘AuthFailure.SecretIdNotFound’
}
调用函数的时候显示ERROR [getTempCOS] TencentCloudSDKHttpException [Error]: The SecretId is not found, please ensure that your SecretId is correct.