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
- Update from 1.8 to 1.8.1 failing
I have spent the past 2 hours trying to figure this out but I really dont know what to do. 1.8. was a fresh install because the upgrade from 1.7.4 was a total m...
- Realtime not working for some tables
Hi, I've got an issue where I can setup a realtime connection to listen to some tables, but some not all. I have two tables `history` and `users`. Both can be ...
- Broken Appwrite can’t make functions nor...
Hii guys, I was having this issue with my locally hosted Appwrite, I can’t create functions ( both template and manual), I can’t make a custom domain ( like in ...