Implementing Bot/Invalid JSON RPC response

Hi All,

I am trying to implement dydx’s liquidation bot. Initially, the bot worked just fine. But now, I keep getting error after I connect the liquidator with my metamask wallet. FYI… I did not change any assumptions or source code of the bot. Just ran in docker :slight_smile: .

Any help/guidance on how to solve this issue would be awesome! Thanks!

Hi @scowolf10 - welcome to the Infura community!
Based on the error message, it looks like you may be missing a catch block in one of your async functions. I’d check to see if that’s the case first; since it was working earlier, it may not have been hitting where the catch block would’ve been, but when it finally did, it errored out.