昨天刚购买的云开发资源。
报错信息:
Error: cloud.callFunction:fail Error: errCode: -504002 functions execute fail | errMsg: Error: collection.count:fail -501003 exceed request limit. [ResourceUnavailable.ResourceOverdue] Resource has expired. Please renewal fee, but if the problem cannot be solved, contact us.
at Object.toSDKError (:40803/var/user/node_modules/wx-server-sdk/index.js:8094)
at Object.checkError (:40803/var/user/node_modules/wx-server-sdk/index.js:1422)
at :40803/var/user/node_modules/wx-server-sdk/index.js:1558
at processTicksAndRejections (:40803/appservice/internal/process/task_queues.js:97) (callId: 1676959610778-0.07121370817589101) (trace: 14:6:50 start->14:6:51 system error (Error: errCode: -504002 functions execute fail | errMsg: Error: collection.count:fail -501003 exceed request limit. [ResourceUnavailable.ResourceOverdue] Resource has expired. Please renewal fee, but if the problem cannot be solved, contact us.
at Object.toSDKError (:40803/var/user/node_modules/wx-server-sdk/index.js:8094)
at Object.checkError (:40803/var/user/node_modules/wx-server-sdk/index.js:1422)
at :40803/var/user/node_modules/wx-server-sdk/index.js:1558
at processTicksAndRejections (:40803/appservice/internal/process/task_queues.js:97)), abort)
at N (WASubContext.js?t=wechat&s=1676947303272&v=2.26.0:1)
at WASubContext.js?t=wechat&s=1676947303272&v=2.26.0:1
已经修改了环境id:
云函数均已部署:
当前环境也进行了选择:
求解决方法,感谢!
你好,发现您的报错来自云函数代码(wx-server-sdk),请检查: