Uncaught (in promise) Error: Missing web3 instance, make sure to call Moralis.enableWeb3() or Moralis.authenticate()?

Hello,
I’m constantly getting this error: Uncaught (in promise) Error: Missing web3 instance, make sure to call Moralis.enableWeb3() or Moralis.authenticate()

But the weird thing is i’m authenticated already…

I tried enableWeb3 hook too but it doesn’t change anything.

What’s the problem?
Thanks.

See if this helps.

I figured it out right now, it was just a mistake into my code (logical AND operators) :slight_smile:
My dapp is working now, thanks.

1 Like