
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
- Corrupted files on AWS S3
Hello! I'm having trouble using S3 storage with appwrite for file uploads. It happens when uploading files from the Javascript SDK or from the console. The fi...
- 500 server error
Pretty please.. trying to run the last 1.7.4 version on a coolify instance.. i searched like everywhere.. i changed the console to 6.0.41 too.. i tried to hardc...
- Help on importing data - error Unknown a...
Hey There! I want to create a local environment on my new computer, i wish to get the information i have on my staging appwrite cloud server. When running mig...
