ethereum-boilerplate/ethereum-react-native-boilerplate

XMLHttpRequest failed: "Unable to connect to the Parse API"

aeroluxx opened this issue · 4 comments

When i Login in app during WalletConnect-Metamask i have an error
XMLHttpRequest failed: "Unable to connect to the Parse API"

WhatsApp Image 2022-07-10 at 22 05 55

WhatsApp.Video.2022-07-10.at.22.08.22.mp4

image

Behavior: When I hit the login button this immediately pops up.

Where can I fix this within the files? Is this because I'm running emulator rather than on device?

Make sure your serverUrl and appId for your Moralis server (and make sure it's awake) have been set in your .env file or manually in frontend\Providers.tsx.

image

Behavior: When I hit the login button this immediately pops up.

Where can I fix this within the files? Is this because I'm running emulator rather than on device?

Bro You can fix it by Going into the Provider.tsx and passing the appId and ServerUrl DIrectly there in Inverted Commas