这是调用创建派送订单返回的函数日志:返回结果 {"errCode":-604101,"errMsg":"system error: error code: -604101"} 日志 Init Report RequestId: 0d6f5f15-842a-4575-90b1-dc1811cda385 Coldstart: 596ms (InitRuntime: 9ms InitFunction: 587ms) Memory: 256MB MemUsage: 21.55MB START RequestId: 0d6f5f15-842a-4575-90b1-dc1811cda385 Event RequestId: 0d6f5f15-842a-4575-90b1-dc1811cda385 2024-12-16T11:56:19.921Z API call error: CloudSDKError: errCode: -604101 function has no permission to call this API | errMsg: system error: error code: -604101 at callGeneralOpenAPI (/var/user/node_modules/wx-server-sdk/index.js:487:27) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async callWXOpenAPI (/var/user/node_modules/wx-server-sdk/index.js:2364:28) at async exports.main (/var/user/index.js:27:20) { errCode: -604101, errMsg: 'system error: error code: -604101' } Response RequestId: 0d6f5f15-842a-4575-90b1-dc1811cda385 RetMsg: {"errCode":-604101,"errMsg":"system error: error code: -604101"} END RequestId: 0d6f5f15-842a-4575-90b1-dc1811cda385 Report RequestId: 0d6f5f15-842a-4575-90b1-dc1811cda385 Duration: 260ms Memory: 256MB MemUsage: 22.039062MB 之前都没问题,为啥我现在no permission了?
物流助手的所有API调用都返回同样的错误,之前没问题,突然这样了,求解决?我的云函数:const cloud = require('wx-server-sdk') cloud.init({ env: cloud.DYNAMIC_CURRENT_ENV, }) exports.main = async (event, context) => { try { const result = await cloud.openapi.logistics.bindAccount({ type: 'bind', // 'bind' 表示绑定,'unbind' 表示解除绑定 password: '', // 快递公司客户密码,可选 bizId: '', // 你的 biz_id deliveryId: 'ZTO', // 快递公司ID,例如 'YUNDA' remarkContent: '' // 备注内容,可选 }) return result } catch (err) { return err } } password和bizid我隐藏了,开发时都有填写,之前绑定成功并且成功下单了,可是今天测试的时候,所有物流助手相关接口都显示errCode: -604101。我在微信公众平台物流助手 绑定合作网点里查看,中通快递的绑定也是正常的,请问这是什么问题呢?
星期一 20:31