代码如下:
try {
const cloud = require('wx-server-sdk');
cloud.init({
env: config.CLOUD_ID
});
let body = .......
let result = await cloud.openapi.subscribeMessage.send(body);
} catch (err) {
console.log(er
}
问题描述:
Error: errCode: -501001 resource system error | errMsg: openapi.subscribeMessage.send:fail ESOCKETTIMEDOUT; at openapi.subscribeMessage.send api;
已经排查
1> config.json 已经配置
{
"permissions": {
"openapi": [
"subscribeMessage.send"
]
}
}
2> env 设置的是 环境ID
请教这个问题怎么处理?谢谢
没有知道是什么问题的吗?