ethereum-boilerplate / ethereum-react-native-boilerplate

The ultimate full-stack Ethereum React Native Dapp Boilerplate which gives you maximum flexibility and speed. Feel free to fork and contribute. Although this repo is called "Ethereum Boilerplate" it works with any EVM system! Happy BUIDL!👷‍♂️
MIT License
544 stars 286 forks source link

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

Open aeroluxx opened 2 years ago

aeroluxx commented 2 years ago

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

https://user-images.githubusercontent.com/38083916/178836011-e002740d-8298-4de9-a074-b1fc298acce7.mp4

ohmygaugh-crypto commented 2 years ago

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?

alexnguyennz commented 1 year ago

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.

ArbitechSolution commented 1 year ago

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