在小程序调用是正常,然后定时调用后就报错了。
返回结果
{"errCode":-501001,"errMsg":"envname field not exsit in url; "}
日志
START RequestId: a4848441-0294-11ea-bd14-525400e8849e
Event RequestId: a4848441-0294-11ea-bd14-525400e8849e
2019-11-09T02:00:02.741Z { Error: errCode: -501001 resource system error | errMsg: envname field not exsit in url;
at new CloudSDKError (/var/user/node_modules/wx-server-sdk/index.js:6395:28)
at Object.returnAsCloudSDKError (/var/user/node_modules/wx-server-sdk/index.js:6447:16)
at Object.checkError (/var/user/node_modules/wx-server-sdk/index.js:1678:23)
at Query.<anonymous> (/var/user/node_modules/wx-server-sdk/index.js:1744:41)
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: -501001, errMsg: 'envname field not exsit in url; ' }
END RequestId: a4848441-0294-11ea-bd14-525400e8849e
Report RequestId: a4848441-0294-11ea-bd14-525400e8849e Duration:12ms Memory:256MB MaxMemoryUsed:60.343750MB
我也遇到了这个问题,顶上去