umm, not like this, in the Run & debug tab (probably it's opened now in the ss above). check the value of account var and from there check the value of url its making the requests too
or you could also check the client variable and see what's the endpoint
you mean like this
yep seems fine
I don't see any other reason that the connection should fail
Wait a second
On which device are you running this on @Aarush Acharya ?
emulator?
yes
so it wouldn't connect to localhost
you need to use the device ip address
shall write my IP
yep
you can get from ifconfig
okay and v1 should be there?
yep yep
okay thanks give me a second
instead of localhost your Ip address should be there
rest all stays the same
okay give me a few would let you know
Thanks a lot the error changes i guess it connected
But getting this error now
yep that's expected cause there isn't any valid session.
okay thanks that means the logic needs to be altered can take up the docs from here I guess thanks a lot
[SOLVED] Appwrite not connecting to flutter project
Recommended threads
- 403 The current user has been blocked.
Hello, I have a free plan; I've tried to access my project and I get the message "403 The current user has been blocked." I have database, sites, and auth in us...
- Am getting "The current user has been bl...
Was working on my app FLUTTER WEB APP, and suddenly, I have been blocked.... What can I do ? When I try to sign in to the console, I get "The current user has ...
- Guidance to safely upgrade Appwrite to l...
One of my old Flutter projects runs on a DO self-hosted Appwrite. Currently it's on appwrite: ^15.0.2 dart_appwrite: ^15.0.0 The app is live on the Play Stor...