[SOLVED] Event Sync Not Getting Event Data

I am connecting the event sync to the main net. I enter all the information correctly but no data is being pulled for the events on the given contract.

Here is the contract: https://etherscan.io/address/0xc36cf0cfcb5d905b8b513860db0cfe63f6cf9f5c
Here is the log for the event: https://etherscan.io/tx/0x34716d3f654357f4e4ad425aeccea73b7a0e5bcac0097eb8855adf10db05ce94#eventlog

Here is the Log entry from your system:
2022-04-18T14:25:11.773Z - Ran cloud function coreservices_getConfig for user undefined with:
Input: {}
Result: {“status”:200,“data”:{“success”:true,“result”:{“providers”:[{“chain”:“Eth”,“name”:“Mainnet”,“network”:“mainnet”,“exchange”:“eth”,“chainId”:“0x1”,“lookups”:[“eth”,“mainnet”,“0x1”],“token”:{“name”:“Ether”,“symbol”:“ETH”},“httpProviderUrl”:“eth/mainnet”,“maxRecordsPerCategory”:50,“userSync”:true}],“addressSyncs”:[],“eventSyncs”:[{“chainId”:“0x1”,“address”:“0xc36cF0cFcb5d905B8B513860dB0CFE63F6Cf9F5c”,“tableName”:“NEWURITEST”,“topic”:“event URI(string, uint256)”,“abi”:{“anonymous”:false,“inputs”:[{“indexed”:false,“internalType”:“string”,“name”:"_value",“type”:“string”},{“indexed”:true,“internalType”:“uint256”,“name”:"_id",“type”:“uint256”}],“name”:“URI”,“type”:“event”},“filter”:"",“sync_historical”:true,“description”:“URIEvent”}]}}}

rename that name to not contain _, it will not work if it starts with _

I also changed _id and removed the _.

Still not working… See log below:

2022-04-18T15:11:32.432Z - Ran cloud function coreservices_getConfig for user undefined with:
Input: {}
Result: {“status”:200,“data”:{“success”:true,“result”:{“providers”:[{“chain”:“Eth”,“name”:“Mainnet”,“network”:“mainnet”,“exchange”:“eth”,“chainId”:“0x1”,“lookups”:[“eth”,“mainnet”,“0x1”],“token”:{“name”:“Ether”,“symbol”:“ETH”},“httpProviderUrl”:“eth/mainnet”,“maxRecordsPerCategory”:50,“userSync”:true}],“addressSyncs”:[],“eventSyncs”:[{“chainId”:“0x1”,“address”:“0xc36cF0cFcb5d905B8B513860dB0CFE63F6Cf9F5c”,“tableName”:“URITESTEVENTFOUR”,“topic”:“event URI(string, uint256)”,“abi”:{“anonymous”:false,“inputs”:[{“indexed”:false,“internalType”:“string”,“name”:“value”,“type”:“string”},{“indexed”:true,“internalType”:“uint256”,“name”:“id”,“type”:“uint256”}],“name”:“URI”,“type”:“event”},“filter”:"",“sync_historical”:true,“description”:“EventTwoURI”},{“chainId”:“0x1”,“address”:“0xc36cF0cFcb5d905B8B513860dB0CFE63F6Cf9F5c”,“tableName”:“NEWURITEST”,“topic”:“event URI(string, uint256)”,“abi”:{“anonymous”:false,“inputs”:[{“indexed”:false,“internalType”:“string”,“name”:"_value",“type”:“string”},{“indexed”:true,… (truncated)

this looks like an invalid topic, the topic has to have the name of the function and the types of the parameters, maybe only URI(string, uint256)

1 Like

SOLVED. Thank you cryptokid

1 Like