Troubleshooting the SDK

Troubleshooting Tria's SDK's common development problems.

The user is able to login but not perform any transactions?

Please ensure that you are using the correct meta token for your hosted domain. Refer to Installation guide.

My auth and wallet UI looks broken

Please ensure that you are following our installation guidelines properly Refer to Installation guide.

  1. TriaLogin component should be imported at root level of your app and not under a specific page/component.
  2. Please ensure that you redirect the user to your apps "/login" page once user disconnects.

The user is getting logged in but the wallet icon is not visible?

Please make sure that you are correction passing the wallet positions. It should be sent in terms of viewport height/width as follows:

buttonPosition={{ x: '0vw', y: '0vh' }} //can change it with your convenience

I cannot see my default chain on wallet

Please ensure that you are sending the default chain properly (refer supported networks) as follows:

defaultChain='MUMBAI'
supportedChains={[
            'MUMBAI',
            'POLYGON',
            'METIS',
            'METIS-TESTNET',
            'MANTLE',
            'MANTA-TESTNET',
            'MANTA',
            'MANTLE-TESTNET',
            'FUSE',
            'ETH',
            'BINANCE',
            'OPTIMISM',
            'ARBITRUM',
            'AVALANCHE',
            'FANTOM',
]}

Unity login/signup is not working

Please ensure that you are using the correct meta token for your hosted domain. Refer to Installation guide.

Was this page helpful?