Hi,
Iām trying to connect my dappās user to the Phantom/Solana wallet using Moralis authenticeās type: sol property/value. Iām getting a 500 error back from the xhr request: {ācodeā:1,āmessageā:āInternal server error.ā} ā¦ The Moralis SDK scripts tries to contact https://kbvgdqapw6fm.usemoralis.com:2053/server/users but it returns a 500 error code. Loggin a user in with MetaMask works fine. Anyone any idea why the Solana/Phantom login doesnāt work?
My JS code:
let user = Moralis.User.current();
if (!user) {
Moralis.authenticate({type:'sol'}).then(function(user) {
console.log("Logged in Solana/Phantum Wallet user with address: " + user.get('solAddress'));
});
}
Response from Request URL: https://kbvgdqapw6fm.usemoralis.com:2053/server/users:
{ācodeā:1,āmessageā:āInternal server error.ā}
Thanks!