Hi,
I have a spring boot backend webapplication. I use org.web3j core libary(4.5.5).
I create a web3j interface:
String ethereumBaseUrl = “https://ropsten.infura.io/”;
Web3j web3j = Web3j.build(new HttpService(ethereumBaseUrl + Constant.ETH_PUBLIC_KEY));
After that I check the connection the:
System.out.println(web3j.web3ClientVersion().send().getWeb3ClientVersion());
And I received the ClientConnectionException with a following message:
Invalid response received: 403; {“jsonrpc”:“2.0”,“id”:0,“error”:{“code”:-32600,“message”:“project ID is required”,“data”:{“reason”:“project ID not provided”,“see”:“https://infura.io/dashboard”}}}
This code was working a few weeks ago.
What is wrong?
Thx for your help.