请问这个有解吗?
云函数调用 subscribeMessage.send openapi 报 -501001?如题,基本上每一个都是报 Error: errCode: -501001 resource system error | errMsg: openapi.subscribeMessage.send:fail ESOCKETTIMEDOUT; at openapi.subscribeMessage.send api; 请问有解吗?
2022-03-22VM180 WAService.js:2 Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail requestID 64945d0b-471d-42a6-ac99-0ca7a3ddba0b, cloud function service error code -504002, error message TypeError: Do not know how to serialize a BigInt at JSON.stringify (<anonymous>) at callback (:24682/var/runtime/node12/CallbackContext.js:31) at :24682/var/runtime/node12/CallbackContext.js:81 at :24682/var/runtime/node12/Runtime.engine.js:237 at processTicksAndRejections (:24682/appservice/internal/process/task_queues.js:97); at cloud.callFunction api; at new e (VM180 WAService.js:26) at s (VM180 WAService.js:26) at c (VM180 WAService.js:26) at Function.success (VM180 WAService.js:26) at I (VM180 WAService.js:2) at VM180 WAService.js:2 at u (VM180 WAService.js:35) at Function.<anonymous> (VM180 WAService.js:35) at I (VM180 WAService.js:2) at VM180 WAService.js:2(env: macOS,mp,1.05.2201240; lib: 2.14.1) errorReport @ VM180 WAService.js:2 thirdErrorReport @ VM180 WAService.js:2 (anonymous) @ VM180 WAService.js:2 u @ VM180 WAService.js:2 g @ VM180 WAService.js:2 (anonymous) @ VM180 WAService.js:2 value @ VM180 WAService.js:2 e @ VM180 WAService.js:2 (anonymous) @ VM180 WAService.js:2
Do not know how to serialize a BigInt怎么解决?利用云开发发送订阅消息,一直显示报错:Do not know how to serialize a BigInt,始终不知如何解决,求方法。
2022-03-22const fileID = event.fileID const res = await cloud.downloadFile({ fileID: fileID, }) const buffer = res.fileContent
云函数怎样将云存储的图片转成buffer?哪位大佬指点一下云函数怎样将云存储的图片转成buffer?我用fs.readFileSync()会报错,fs.readFileSync()好像只能转换本地图片,我用Buffer form()得到的buffer,但是cloud.openapi.customerServiceMessage.uploadTempMedia提示错误,哪位大佬有方法指点一下谢谢。
2021-02-21appID: wx2328755b6cea1868 请速查询啊。
云开发不能用了?从早上6点20开始直接访问不了,提示:“检查环境”发生了错误:Error:InternalError,An error has occurred.
2021-01-06