pcko1 / etherscan-python

A minimal, yet complete, python API for Etherscan.io.
MIT License
408 stars 111 forks source link

"AssertionError: None -- Query Timeout occured. Please select a smaller result dataset" when queuing a large number of calls #31

Open orangedecimation69 opened 2 years ago

orangedecimation69 commented 2 years ago

I am trying to call "get_erc721_token_transfer_events_by_address" on a rather large set of wallet addresses (roughly 1000) and iterating over a for loop to do so - I thought it might be an issue with the calls per second cap so I set the sleep time to .22 seconds then to 1 second after the calls - without any luck.

Any ideas as to why this is happening? I'm guessing this is on Etherscan's side but I'm hoping someone might have some insight?

github-actions[bot] commented 2 years ago

Thanks for reporting this issue, we are on it :)

KevinLiebergen commented 2 years ago

Same here, it's an EtherScan problem. Just request the query again to fix it.