Skip to content
Back

Appwrite Cli Login ..Not working?

  • 0
  • Self Hosted
  • Accounts
  • Tools
  • Web
NlaakALD
17 Nov, 2023, 02:54

I have a project, auths, database (+collections), storage, ect all working on https://cloud.appwrite.io/v1 I wanted to migrate project/database over to my server (installed, online) but there is no option in cloud UI at this time. But i read i could do it with the AppWrite Cli. However. I can login to cloud with email/password (logout and in again) with no issues. but from command

TypeScript
appwrite login
? Enter your email nl****ld@gmail.com
? Enter your password **************
? Enter the endpoint of your Appwrite server https://cloud.appwrite.io/v1

Error Invalid credentials. Please check the email and password.

It is not a email or wrong password. I am logged into it from the browser.

Anyone know whats going on here?

TL;DR
User is experiencing issues logging in to Appwrite CLI even though they are able to log in using the same credentials on the Appwrite Cloud website. They are trying to migrate their project/database to their own server using Appwrite CLI. They have encountered an error message stating "Invalid credentials" even though they are logged into the browser. Solution: The user discovered that they need to update their password in the account settings on the Appwrite Cloud website. After doing so, they were able to successfully log in using Appwrite CLI.
NlaakALD
17 Nov, 2023, 03:03

Ok, I figured it out. Small issue/bug on Cloud site I think. So for anyone else having this issue. If you Login with Github, you have to go to your account setting and enter your old password and new password (cn be the same) click update and it works.

TypeScript
appwrite login
? Enter your email nl***ld@gmail.com
? Enter your password **************
āœ“ Success
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