Back

[SOLVED] Cannot connect to appwrite project from CLI

  • 0
  • Cloud
Nimit Savant
21 Jun, 2023, 09:39

I'm using Appwrite Cloud and when I'm logging in with the CLI I'm not able to see any projects and not even able to connect to any of the projects.

TL;DR
User is unable to connect to Appwrite project from CLI. Some users suggest checking if the correct email was used and if there was a previous login with the same credentials. The issue is eventually resolved by switching the endpoint to the correct URL. The solution is to run `appwrite client --debug` to ensure connection to cloud.appwrite.io and make sure the CLI is not set to any other Appwrite instance.
joeyouss
21 Jun, 2023, 11:17

Hey @Nimit Savant was your CLI set to any other Appwrite instance in the past?

Meldiron
21 Jun, 2023, 11:30

Hey πŸ‘‹ Can you run appwrite client --debug and ensure you are connecting to cloud.appwrite.io? Also, are you saying that CLI says 0 projects, but you can see some on cloud.appwrite.io?

Nimit Savant
21 Jun, 2023, 12:49

Ohh understood, my end point was on my selfhosted url. Thank you :) @Meldiron and @joeyouss

Nimit Savant
21 Jun, 2023, 12:49

By the way I'm writing a blog on how to write ts appwrite functions would post about it soon :)

Nimit Savant
21 Jun, 2023, 12:52

But still why was I able to successfully login from the email from another account, I couldn't see any errors just sucess.

joeyouss
21 Jun, 2023, 13:01

awesome!

joeyouss
21 Jun, 2023, 13:20

I think it worked πŸ‘€

Binyamin
21 Jun, 2023, 13:21

Ohh, my bad.

Binyamin
21 Jun, 2023, 13:21

🀦

Nimit Savant
21 Jun, 2023, 13:25

Biyamin always comes with solutions irrespective πŸ˜† He is always there to help πŸ«‚

joeyouss
21 Jun, 2023, 13:25

He is the best!

Binyamin
21 Jun, 2023, 13:36

<:blobthumbsup:494901804476137482>

Drake
21 Jun, 2023, 16:31

maybe you had the same login?

Drake
21 Jun, 2023, 16:31

[SOLVED] Cannot connect to appwrite project from CLI

Nimit Savant
21 Jun, 2023, 20:36

umm nope I didn't :( two different emails self hosted one is different and cloud one is different

Drake
21 Jun, 2023, 21:02

maybe you did sign up with that email but forgot

Nimit Savant
21 Jun, 2023, 21:07

can happen

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