404 page not found


404 page not found

Why I am getting this error?


Try sending a full RPC request using your key, something similar to:

curl https://mainnet.infura.io/v3/[YOUR PROJECT ID] -X POST -H “Content-Type: application/json” -d ‘{“jsonrpc”:“2.0”,“method”:“eth_blockNumber”,“params”:[],“id”:74}’

More details can be found in the docs on our website.

Make sure there is no space between “Type:” and “application” in “Content-Type:application/json”. It took me quite a while to make it work.