Thank you for the follow-up Gry. Unfortunately, still getting same error, although in console log I am now noticing an additional showing up ahead of the initial error message reported which may provide additional insight. It is “Uncaught (in promise) Error: No RPC Url available for chainId: 99999”.
The code below is what I am using. The analogous code without “{provider: ‘walletconnect’}” works just fine in bringing up Metamask.
//
// Function to login via Keplr Wallet
//
async function loginViaKeplrWallet() {
user = new Object();
try {
user = Moralis.User.current();
console.log(‘Successfully fetched Moralis user object’);
}
catch (err) {
console.log(‘Moralis fetch of current user failed with error:’+err.message);
}
// Check if user exists
if (!user) {
console.log(‘Start Keplr wallet login via Moralis…’);
user = await Moralis.authenticate({provider: ‘walletconnect’});
console.log(‘Completed Keplr wallet login via Moralis…’);
}
else {
console.log(‘User already logged into Keplr wallet’);
}
}
If this is just something that is not supposed to work with Moralis right now, that’s fine. No use the two of us wasting any more time.
Thanks! Arv