/resolve/{domain} Web3 API Endpoint Returns 500

Any attempts to resolve an existing .eth domain end with error 500. Try out vitalik.eth for example. Trying to fetch unregistered domains though ends with 404. Looks like something goes wrong with real domains resolving and leads to an internal server error.

this works:

options = {address: '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045' };
resolve = await Moralis.Web3API.resolve.resolveAddress(options);

but for the other way around to get an address from a domain name I don’t think that we have an API endpoint

According to https://docs.moralis.io/moralis-server/web3-sdk/resolve one should be able to resolve an address from .eth domain if I understood everything right. Am I not right?

If you look at that video tutorial, you could see that this code will get the address of a domain with web3:

web3 = await Moralis.enableWeb3()
x = await web3.eth.ens.getAddress('vitalik.eth')
'0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045'