Watch address from code is not working

My code snippet-

const results = await Moralis.Cloud.run(
            "watchBscAddress",
            {
                address: address,
                sync_historical: false,
            },
            { useMasterKey: true }
        );

Getting this error in console

Screenshot 2022-02-14 at 15.04.42

checking now, I know that your particular case is with a testnet server

It works fine for me on testnet, what is your server url?

I used this syntax

    const results = await Moralis.Cloud.run("watchBscAddress", {address: "asdfasdf", syncHistorical: true}, {useMasterKey: true})

My server url- https://k84qr0r6ywbq.usemoralis.com:2053/server

can you try again now? I already added an address sync on bsc on your server with watchBscAddress

Not working for me.

How did you manage to add an address?

I used this code:



x = async () => {
    const  Moralis = require('moralis/node')
    console.log(Moralis.CoreManager.get("VERSION"))
    await Moralis.start({ serverUrl: "https://k84qr0r6ywbq.usemoralis.com:2053/server", appId: "asfdsafsdf", masterKey: "afasfsdf" });

    const results = await Moralis.Cloud.run("watchBscAddress", {address: "adsadfasdf", syncHistorical: true}, {useMasterKey: true})
    console.log(results)

    }

x();

From logs it doesn’t look like you tried after I said to try again

I tried but it isn’t working. I signed up on Moralis from a different email and created another server there. Tried to run it on that, but it still doesn’t work for me

I just tried running your code in my terminal. Still same issue-

What result do you get from console.log(Moralis.CoreManager.get("VERSION"));? Which version do you have?

checking, now it looks like it doesn’t work for me either

Any idea what may be the issue?

I don’t know exactly yet, we will investigate

the problem should be fixed now if you update the server to latest version