Back

my project does not seem to work

  • 0
  • Web
  • Cloud
CaptainCharan
11 May, 2024, 16:29

Hi! I am trying to get my Appwrite up and running but I seem to run into the following console problem.

TL;DR
Developers facing issues accessing a project should double-check the Project ID, Database ID, and Collection ID. Verify the correct endpoint being used in the code by referring to Appwrite's documentation. Make sure the URL in `appwriteConfig.url` is accurate to resolve the issue. Additionally, log the URL value before passing it to `setEndpoint()` to ensure its correctness.
D5
11 May, 2024, 16:38

What's the code that throws the error? You're using appwrite cloud?

CaptainCharan
11 May, 2024, 16:45

I am cloning a repository from the following :https://github.com/adrianhajdin/social_media_app

CaptainCharan
11 May, 2024, 16:45

Yes I am using the appwrite cloud.

Steven
11 May, 2024, 16:49

Double check the value you're using for the appwrite endpoint is correct

ideclon
13 May, 2024, 07:03

I'd suggest you double check the endpoint, there

CaptainCharan
13 May, 2024, 07:05

shall I replace the code which I have written, to the above to make it work?

ideclon
13 May, 2024, 07:05

Just correct the endpoint

CaptainCharan
13 May, 2024, 07:12

I have put it like this.

ideclon
13 May, 2024, 07:12

Sure, you could switch to putting the vars directly into your codebase instead of envvars

CaptainCharan
13 May, 2024, 07:13

Still I am facing the error, it seems almost impossible to fix. Probably something wrong at my end.

ideclon
13 May, 2024, 07:13

Will make it more annoying if you want to use a different project/server in the future, but that's your design decision

ideclon
13 May, 2024, 07:14

You're still getting the ERR_NAME_NOT_RESOLVED?!

CaptainCharan
13 May, 2024, 07:14

Oh

CaptainCharan
13 May, 2024, 07:14

Yes

ideclon
13 May, 2024, 07:16

After reloading the page?

CaptainCharan
13 May, 2024, 07:16

Yes

CaptainCharan
13 May, 2024, 07:28

I double checked my keys and they seem to be fine

CaptainCharan
13 May, 2024, 07:33

If you are okay, I can screen share the errors.

ideclon
13 May, 2024, 07:38

Screenshots are best

CaptainCharan
13 May, 2024, 13:45

I get the 404 error from appwrite

ideclon
13 May, 2024, 17:17

A screenshot of the error will still be useful

CaptainCharan
14 May, 2024, 04:42
ideclon
14 May, 2024, 12:46

Double check the Project ID, Database ID and Collection ID.

Steven
14 May, 2024, 15:00

And permissions to the collection

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