[SOLVED] Server event sync not initiating but working in API

Hello, Iā€™m working on the server sync events and was able to create sync function on one event but now struggling with others. Also, Iā€™m able to get data on the same event using API but not on the server sync. Table is not even showing in the dashboard > browse

curl -X 'POST' \
  'https://deep-index.moralis.io/api/v2/0x900d655425ecd9429c4f71bfd1deac5ff8c87344/events?chain=bsc&topic=onUpdateBuddy%20%28address%2C%20address%29' \
  -H 'accept: application/json' \
  -H 'X-API-Key: XXXX' \
  -H 'Content-Type: application/json' \
  -d '{
        "anonymous": false,
        "inputs": [
            { "indexed": true, "name": "player", "type": "address" },
            { "indexed": true, "name": "buddy", "type": "address" }
        ],
        "name": "onUpdateBuddy",
        "type": "event"
    }'

On server sync

what is the server url?

https://nh0atl7rhg3n.usemoralis.com:2053/server

how did you create that server? did you use the beta interface or the normal admin interface?

you should create a server from the normal admin interface, any new created server will be a Nitro server now

Yes it was on beta I set up everything one more time on regular server and works fine.

Thank You :slight_smile:

1 Like