Why am I getting a 404 error on the Infura testnet endpoint?

Have more questions? Submit a request

Infura has released a public endpoint for developers to build on the Linea Beta Testnet. πŸ˜ŽπŸš€

That endpoint is available at https://linea-goerli.infura.io/v3/API-KEYand can be used by generating an API key in the Infura Dashboard.

Why am I getting a 404 error?

Please note: the above URL is not a website for you to browse; it is an endpoint to which requests for network data, or transaction requests, are sent by backend code.

 

I'm confused. What does all that mean?

When you want to access a website, your web browser sends a request "on the backend" to a server, which returns the website data you requested to your browser. Your browser then interprets that code data and displays it to you.

With web3, it's similar, but different 😜

A developer that is creating a dapp will need a connection to the blockchain, to find out what the current state of accounts are, and to submit transactions to the network. They can do that in several different ways, and one of the most popular is to use an endpoint provided by Infura: essentially, a web address that the dapp can send a request to, and then Infura will get the information on and off the blockchain, and return the result back to the dapp, just like with a traditional website.

So: the endpoint is a service being provided for developers who are building dapps, to provide them with an always-on connection to the Linea test network.

Articles in this section

Was this article helpful?
0 out of 1 found this helpful
Share