Back

[SOLVED] Hello, Can anyone help with this error?

  • 0
  • Flutter
Bokl2002
26 Dec, 2023, 16:51

AppwriteException: , Failed host lookup: 'appwrite.aleksandar-babic.com' (0)

I added <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>

to my manifest but still have the same issue

TL;DR
User is asking for help with an error they encountered. The problem was solved as the issue was caused by incorrectly setting up the project. The error was due to a wrong URL endpoint. The user had followed a tutorial to create the project. They also added permissions in the Android manifest file but the issue persisted. The solution was to properly set up the project and ensure the correct URL endpoint is used.
D5
26 Dec, 2023, 16:59

Are you sure you can access the URL?

D5
26 Dec, 2023, 17:00

And what did you have set as the endpoint?

Bokl2002
26 Dec, 2023, 17:05
Bokl2002
26 Dec, 2023, 17:06
Maniac_Fighter
26 Dec, 2023, 17:07

so does this endpoint exists?

ideclon
26 Dec, 2023, 17:09

It does not

Bokl2002
26 Dec, 2023, 17:09

how to know this? i just followed the quick-start tutorial and copied this from there

ideclon
26 Dec, 2023, 17:11

Did you set up the domain?

Bokl2002
26 Dec, 2023, 17:12

here is what i did uptill now

https://appwrite.io/docs/quick-starts/flutter

D5
26 Dec, 2023, 17:13

Are you self-hosting appwrite or you're using https://cloud.appwrite.io ?

ideclon
26 Dec, 2023, 17:14

I do not see the code you've written anywhere here

Bokl2002
26 Dec, 2023, 17:16

this code coppied from the tutorial i followed while creatinf the project

Bokl2002
26 Dec, 2023, 17:16

yes, i have a project with project id and api key

ideclon
26 Dec, 2023, 17:18

This code did not come from the tutorial you linked.

Bokl2002
26 Dec, 2023, 17:20

data was automatically wrtten while creating the prokect

Bokl2002
26 Dec, 2023, 17:20

problem fixed

Bokl2002
26 Dec, 2023, 17:20

thanks 😄

D5
26 Dec, 2023, 17:47

[SOLVED] Hello, Can anyone help with this error?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more