
Hello! I just installed appwrite locally on docker, opened the dashboard and created a project, then tried to use the appwrite cli to log in but something is off, my prefs.json file got cleared out when I ran appwrite logout
ℹ Info: To report this error you can:
- Create a support ticket in our Discord server https://appwrite.io/discord
- Create an issue in our Github
https://github.com/appwrite/appwrite/issues/new?labels=bug&template=bug.yaml&title=%F0%9F%90%9B+Bug+Report%3A+Invalid+credentials.+Please+check+the+email+and+password.&actual-behavior=CLI+Error%3A%0A%60%60%60%0AError%3A+Invalid+credentials.+Please+check+the+email+and+password.%0A++++at+Client.call+%28%2Fopt%2Fhomebrew%2FCellar%2Fappwrite%2F6.1.0%2Flibexec%2Flib%2Fnode_modules%2Fappwrite-cli%2Flib%2Fclient.js%3A211%3A13%29%0A++++at+process.processTicksAndRejections+%28node%3Ainternal%2Fprocess%2Ftask_queues%3A105%3A5%29%0A++++at+async+accountCreateEmailPasswordSession+%28%2Fopt%2Fhomebrew%2FCellar%2Fappwrite%2F6.1.0%2Flibexec%2Flib%2Fnode_modules%2Fappwrite-cli%2Flib%2Fcommands%2Faccount.js%3A1016%3A16%29%0A++++at+async+loginCommand+%28%2Fopt%2Fhomebrew%2FCellar%2Fappwrite%2F6.1.0%2Flibexec%2Flib%2Fnode_modules%2Fappwrite-cli%2Flib%2Fcommands%2Fgeneric.js%3A57%3A9%29%0A%60%60%60&steps-to-reproduce=Running+%60appwrite+login%60&environment=CLI+version%3A+6.1.0%0AOperation+System%3A+Darwin%0AAppwrite+version%3A+unknown%0AIs+Cloud%3A+No

cont ✗ Error:
Stack Trace:
AppwriteException [Error]: Invalid credentials. Please check the email and password.
at Client.call (/opt/homebrew/Cellar/appwrite/6.1.0/libexec/lib/node_modules/appwrite-cli/lib/client.js:211:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async accountCreateEmailPasswordSession (/opt/homebrew/Cellar/appwrite/6.1.0/libexec/lib/node_modules/appwrite-cli/lib/commands/account.js:1016:16)
at async loginCommand (/opt/homebrew/Cellar/appwrite/6.1.0/libexec/lib/node_modules/appwrite-cli/lib/commands/generic.js:57:9) {
code: 401,
response: 'user_invalid_credentials'
}
boss ~/.appwrite$

If you try with this command appwrite login --endpoint "<URL_HERE>"
inserting your selfhosted instance in the URL_HERE spot, what happens?
Recommended threads
- I am facing this error: type 'Null' is ...
When attempting to fetch areas from the area collection, the application throws an error: "type 'Null' is not a subtype of type 'int.'" This issue originates in...
- Adding Domain to Sites [Self Hosted]
I am struggling to get this working. I stood-up a new server and deployed appwrite 1.7.4. I added update .env file _APP_DOMAIN=appwrite.mydomain.com _APP_DOMAI...
- Need help migrating from self hosted to ...
Hi! I am using self hosted appwrite for testing stuff out and now it's prod ready I want to deplot it to the cloud version. It gave me this error when fetchin...
