Iâve remove that invalid event sync which youâve told. Restart instance twice but trying âwatchEthAddressâ for adding an address, same error occurs. Below is error log from server dashboard
Failed running cloud function watchEthAddress for user undefined with:
Input: {âaddressâ:â0xe149d4f145fe33baed558688b33e0c596a3168daâ}
Error: {âmessageâ:{âstatusâ:502,âheadersâ:{âx-powered-byâ:âExpressâ,âaccess-control-allow-originâ:"*",âcontent-typeâ:âapplication/json; charset=utf-8â,âcontent-lengthâ:â24â,âetagâ:âW/â18-py7kky+nYw+KpM//zLTacYk1OLwââ,âx-response-timeâ:â3.784msâ,âdateâ:âMon, 29 Aug 2022 17:15:43 GMTâ,âconnectionâ:âcloseâ},âbufferâ:{âtypeâ:âBufferâ,âdataâ:[123,34,101,114,114,111,114,34,58,116,114,117,101,44,34,100,97,116,97,34,58,123,125,125]},âtextâ:"{âerrorâ:true,âdataâ:{}}",âdataâ:{âerrorâ:true,âdataâ:{}}},âcodeâ:141}
Used code for testing
await Moralis.start({ serverUrl, appId, masterKey });
try {
await Moralis.Cloud.run(
"watchEthAddress",
{ address: "0xe149d4f145fe33baed558688b33e0c596a3168da" },
{ useMasterKey: true }
).then((result) => {
console.log(result);
});
} catch (err) {
console.log('watchEthAddress error...', err)
}