Transaction not recorded in database for Watch Address plugin

I have setup Sync And Watch Address for this address
0x7c4e6ea6ad59dda8eddbf65be83c23d4cdff3a29
And I observed some of the transaction not being picked up by the plugin. They were not recorded in the database and I don’t know why this happens.

Transactions NOT PICKED UP (not recorded)

https://bscscan.com/tx/0x2df57d7e9ab0431131f5e23d5fac48c386466f000376280a9a8006318a5c7c1a

https://bscscan.com/tx/0xa3d9451a1561239c1d7ef293277c7133e8ccdc914165eaf3fbedda35b731f6b8

TRANSACTIONS PICKED UP ( recorded in db and that happened before or after the ones that have not been saved)

https://bscscan.com/tx/0x5cadfc89c8f5840d4d5575d25793be2d8b55ab01cb162eb6e5ccf78a4697e54f

https://bscscan.com/tx/0xafa87667fc225acdf4a328af77eca208b82c231cd09629eb80e9d07763e886e6

https://bscscan.com/tx/0xd5562279a02a18c140a7a3bec9dab3a80cc77788fbcd2e49b547517be4170317

can you also share the server subdomain where this happens?

@cryptokid

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

I see this in logs: error: beforeSave failed for BscTokenTransfers for user undefined:

do you have some beforeSave hook?

Yes I do. Thats because I want to discard not Confirmed transactions and the duplicate update. But Im talking about transactions that doesnt even show in the logs like they not happened but obviously I see them in the address ballances in bsc scan and in poocoin

here another example.
Transaction happened. I see it on bsc scan. I see it on the transfers for the address but it was not even recorded in the moralis plugin like never happened.

https://bscscan.com/tx/0x859ca58c82bfca0d63ff2f3c8d11eea57545e492e1165aa8aa215953465541ce

it is strange that I don’t see that address in WatchedBscAddress

Coz Im listetning for the Liquidity Pool address not the contract address

0x14f2a09a6a698e0ab7c860a1f5a309a7604d1a5a

https://bscscan.com/tokentxns?a=0x14f2a09a6a698e0ab7c860a1f5a309a7604d1a5a

ok, that one I can see it

could you use an event sync instead of a watch address?

watch address should work too, but I don’t know now how to investigate what happened, and there are a lot of logs on that server

Ahh dunno I was usign previously sync event but its a lot of more setup instead of watch address. I would need to make a test server for that how to would work

Also Throwing error in the beforesave hook in order to not save to database is really bad design. It pollutes logs like crazy as you can see in this example. I would love some better solution for hooks to cancel saving into the database