Failed deliveries

I donā€™t know why but I keep getting ā€œFailed Deliveriesā€.

I manage to make the webhook work through the API successfully, but then it just shows failed deliveries and do not get any data:

{
    "confirmed": true,
    "chainId": "0x89",
    "abi": [
        {
            "type": "event",
            "anonymous": false,
            "name": "Transfer",
            "inputs": [
                {
                    "type": "address",
                    "name": "from",
                    "indexed": true
                },
                {
                    "type": "address",
                    "name": "to",
                    "indexed": true
                },
                {
                    "type": "uint256",
                    "name": "tokenId",
                    "indexed": true
                }
            ]
        },
        {
            "type": "event",
            "anonymous": false,
            "name": "Approval",
            "inputs": [
                {
                    "type": "address",
                    "name": "owner",
                    "indexed": true
                },
                {
                    "type": "address",
                    "name": "approved",
                    "indexed": true
                },
                {
                    "type": "uint256",
                    "name": "tokenId",
                    "indexed": true
                }
            ]
        },
        {
            "type": "event",
            "anonymous": false,
            "name": "ApprovalForAll",
            "inputs": [
                {
                    "type": "address",
                    "name": "owner",
                    "indexed": true
                },
                {
                    "type": "address",
                    "name": "operator",
                    "indexed": true
                },
                {
                    "type": "bool",
                    "name": "approved"
                }
            ]
        }
    ],
    "streamId": "bde8cf6f-8013-4c15-9b5a-75254d7960ff",
    "tag": "tag6",
    "retries": 0,
    "block": {
        "number": "39701696",
        "hash": "0x70b1d2f1060739c4bb3397edbca2ab357281bb188c762975b066133fb3350ba1",
        "timestamp": "1677345353"
    },
    "logs": [],
    "txs": [
        {
            "hash": "0x41cca33488f176b826bf5325d82495f098181dac731492d9ee11ae1167278b24",
            "gas": "221297",
            "gasPrice": "123152465466",
            "nonce": "2615",
            "input": "0x540fdb3700000000000000000000000099d64b7d98bc13552027f92d5d31c217cab4db1600000000000000000000000000000000000000000000000010a741a46277ffd4000000000000000000000000b2435253c71fca27be41206eb2793e44e1df6b6d0000000000000000000000000000000000000000000000000000000000d07825000000000000000000000000000000000000000000000000000000000000001ba64c158594f530504275ef64fb221d166fd86c365c28c6d9122c25e66b4abd5c6cf0f26152e449dd69653f15137021df775f562038cc97f4a935cac379f0d20d",
            "transactionIndex": "75",
            "fromAddress": "0x95f3d417d41122d0fb31c5a056d0bb0b23564953",
            "toAddress": "0x5a98e7ce0f72995fdc13d91255443f374c1299a6",
            "value": "0",
            "type": "2",
            "v": "1",
            "r": "35313342243110137894315901906609473058804077028239749417379164386791679361127",
            "s": "22177955773091537227925254427170813805227959855222462548647347680362363051568",
            "receiptCumulativeGasUsed": "15646454",
            "receiptGasUsed": "213557",
            "receiptContractAddress": null,
            "receiptRoot": null,
            "receiptStatus": "1"
        }
    ],
    "txsInternal": [],
    "erc20Transfers": [],
    "erc20Approvals": [],
    "nftTokenApprovals": [],
    "nftApprovals": {
        "ERC721": [],
        "ERC1155": []
    },
    "nftTransfers": [],
    "nativeBalances": []
}

Any idea what I might be doing wrongly?

1 Like

you can use this endpoint to get more information about the failed deliveries:
https://api.moralis-streams.com/api-docs/#/History/GetHistory

I get nothing from the response :sweat_smile:

{
  "result": [],
  "cursor": "",
  "total": 0
}

that means that there is nothing now in history, for a free account the data is saved in history only for 5 minutes, if it passed more than 5 minutes since it was a failed delivery then it is no longer present in history