错误信息:
Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail requestID f5d88071-0153-11ea-99d9-525400235f2a, cloud function service error code -504002, error message errCode: -1 unknown error | errMsg: collection.get:fail Error: missing authoration key, redeploy the function; at collection.get api; ; at cloud.callFunction api;
可以先尝试回退 wx-server-sdk 到 1.5.0https://www.npmjs.com/package/wx-server-sdk/v/1.5.0
Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail requestID 73f7de5b-4d62-11ea-b39f-5254003e0a60, cloud function service error code -504002, error message errCode: -1 unknown error | errMsg: collection.aggregate:fail Error: missing authoration key, redeploy the function; at collection.aggregate api;
今天在原项目上修改appid并重新设置云环境后,云函数调用collection.aggregate也遇到了这个问题。appid: wx5469d8994c21bbcd
wx-server-sdk latest/1.5.0/1.5.2修改版本后重新部署都不行。
可以帮忙看看吗?
+1
https://www.npmjs.com/package/wx-server-sdk/v/1.5.0
+1
https://www.npmjs.com/package/wx-server-sdk/v/1.5.0
+1
https://www.npmjs.com/package/wx-server-sdk/v/1.5.0
+1
https://www.npmjs.com/package/wx-server-sdk/v/1.5.0