Infura timing out

Im using infura to get the balance of all the holders of a specific smart contract. It works like a charm in rinkeby, but times out in main net with the following error:

{ jsonrpc: “2.0”, id: 4, error: {code: -32603, message: “request failed or timed out”}}

error: {code: -32603, message: “request failed or timed out”}
id: 4
jsonrpc: “2.0”}

Why might this be?

1 Like

Unfortunately the client’s error reporting for JSONRPC is not great, can you provide the full error response and a code snippet explaining what you’re trying to do?