云函数定时触发推送微信订阅消息报错"errCode":-501007?
[{“errCode”:-501007,“errMsg”:“subscribeMessage.send:fail Invalid request param”}]
请问咋解决哦
7 回复
同问,定时调用就会出问题,直接从小程序端调用就可以推送服务通知?令人费解
{ Error: errCode: -501007 invalid parameters | errMsg: subscribeMessage.send:fail Invalid request param at new CloudSDKError ( /var/user/node_modules/wx-server-sdk/index .js:6398:28) at Object.<anonymous> ( /var/user/node_modules/wx-server-sdk/index .js:432:35) at step ( /var/user/node_modules/tslib/tslib .js:136:27) at Object.next ( /var/user/node_modules/tslib/tslib .js:117:57) at fulfilled ( /var/user/node_modules/tslib/tslib .js:107:62) at <anonymous> at process._tickCallback (internal /process/next_tick .js:188:7) errCode: -501007, errMsg: 'subscribeMessage.send:fail Invalid request param' } } |