ethereum internal error eth_getBlockByNumber

Started getting internal error when fetching block eth_getBlockByNumber was working fine yesterday. Other requests seem to be fine.

const headers = { "CF-Access-Client-Id": apiKey, "CF-Access-Client-Secret": apiSecret, };

const axiosConfig = { method: "POST", url: "https://my-gateway/v1/mainnet", headers, data: { jsonrpc: "2.0", method: "eth_getBlockByNumber", params: ["latest", true], id: 1, }, }; const response = await axios(axiosConfig);

{ jsonrpc: "2.0", error: { code: -32603, message: "Internal error", }, id: 1, }

edit:

The error response has now changed to:

{ jsonrpc: "2.0", error: { code: -32046, message: "Cannot fulfill request", }, id: 1, }
Was this page helpful?