Hello!
I am using the Moralis admin panel to add a stream to my local server. I had the stream working and sending events to my server up until recently, when it stopped accepting the webhook. Now, as I try to change the stream from demo to prod the webhook is rejected.
The message i get is:
Could not POST to https://<>.eu.ngrok.io/webhooktest. Please check your webhook URL.
I use Ngrok to forward to my local server, and both Ngrok and local server gets the call and returns status 200, but the admin panel won’t accept it anyway.
The stream stopped accepting the webhook after I closed down Ngrok over night and edited the stream with my new Ngrok-URL the next morning.
I tried deleting the stream and setting up again, no change.
Are there any gotchas in how moralis interprets the response? e.g. response time, specific message in body, ngrok-settings?
The confirmation payload I receive from moralis looks normal to me :
{
"abi": [
],
"block": {
"number": null,
"hash": null,
"timestamp": null
},
"txs": [
],
"txsInternal": [
],
"logs": [
],
"chainId": null,
"confirmed": true,
"retries": 0,
"tag": null,
"streamId": null,
"erc20Approvals": [
],
"erc20Transfers": [
],
"nftTokenApprovals": [
],
"nftApprovals": {
"ERC721": [
],
"ERC1155": [
]
},
"nftTransfers": [
],
"nativeBalances": [
]
}