ethereum-react-native-boilerplate icon indicating copy to clipboard operation
ethereum-react-native-boilerplate copied to clipboard

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

Open aeroluxx opened this issue 2 years ago • 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

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

aeroluxx avatar Jul 13 '22 21:07 aeroluxx

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?

ohmygaugh-crypto avatar Jul 18 '22 21:07 ohmygaugh-crypto

I have the same issue

Toadie11 avatar Jul 23 '22 10:07 Toadie11

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.

alexnguyennz avatar Jul 26 '22 23:07 alexnguyennz

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

ArbitechSolution avatar Aug 25 '22 07:08 ArbitechSolution