- 云函数报错
- 当前 Bug 的表现(可附上截图) - 预期表现 - 复现路径 - 提供一个最简复现 Demo WAService.js:1 Uncaught (in promise) Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail requestID 673b8169-940d-11e9-872f-525400681fe1, cloud function service error code -504002, error message errCode: -1 unknown error | errMsg: parameter.data should be object i [图片]
2019-06-21 - 关于openapi.uniformMessage.send本地调试和线上调试区别
- 当前 Bug 的表现(可附上截图) - 预期表现 - 复现路径 - 提供一个最简复现 Demo 确保本地调用参数和线上调用参数一致,本地能直接接受到信息,云函数报错 { Error: errCode: -501007 invalid parameters | errMsg: uniformMessage.send:fail Invalid request param at new CloudSDKError (/var/user/node_modules/wx-server-sdk/index.js:6172:28) at Object.<anonymous> (/var/user/node_modules/wx-server-sdk/index.js:421:35) at step (/var/user/node_modules/tslib/tslib.js:133:27) at Object.next (/var/user/node_modules/tslib/tslib.js:114:57) at fulfilled (/var/user/node_modules/tslib/tslib.js:104:62) at <anonymous> at process._tickCallback (internal/process/next_tick.js:188:7) errCode: -501007, errMsg: 'uniformMessage.send:fail Invalid request param' }
2019-06-22